{"problem":{"name":"A. k-rounding","description":{"content":"For a given positive integer _n_ denote its _k_\\-rounding as the minimum positive integer _x_, such that _x_ ends with _k_ or more zeros in base 10 and is divisible by _n_. For example, 4\\-rounding o","description_type":"Markdown"},"platform":"Codeforces","limit":{"time_limit":1000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"CF858A"},"statements":[{"statement_type":"Markdown","content":"For a given positive integer _n_ denote its _k_\\-rounding as the minimum positive integer _x_, such that _x_ ends with _k_ or more zeros in base 10 and is divisible by _n_.\n\nFor example, 4\\-rounding of 375 is 375·80 = 30000. 30000 is the minimum integer such that it ends with 4 or more zeros and is divisible by 375.\n\nWrite a program that will perform the _k_\\-rounding of _n_.\n\n## Input\n\nThe only line contains two integers _n_ and _k_ (1 ≤ _n_ ≤ 109, 0 ≤ _k_ ≤ 8).\n\n## Output\n\nPrint the _k_\\-rounding of _n_.\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"CF858A","tags":["brute force","math","number theory"],"sample_group":[["375 4","30000"],["10000 1","10000"],["38101 0","38101"],["123456789 8","12345678900000000"]],"created_at":"2026-03-03 11:00:39"}}