{"problem":{"name":"3-smooth Numbers","description":{"content":"You are given a positive integer $N$. If there are integers $x$ and $y$ such that $N=2^x3^y$, print `Yes`; otherwise, print `No`.","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc324_b"},"statements":[{"statement_type":"Markdown","content":"You are given a positive integer $N$. If there are integers $x$ and $y$ such that $N=2^x3^y$, print `Yes`; otherwise, print `No`.\n\n## Constraints\n\n*   $1\\leq N\\leq10^{18}$\n*   $N$ is an integer.\n\n## Input\n\nThe input is given from Standard Input in the following format:\n\n$N$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc324_b","tags":[],"sample_group":[["324","Yes\n\nFor $x=2,y=4$, we have $2^x3^y=2^23^4=4\\times81=324$, so the condition is satisfied. Thus, you should print `Yes`."],["5","No\n\nThere are no integers $x$ and $y$ such that $2^x3^y=5$. Thus, you should print `No`."],["32","Yes\n\nFor $x=5,y=0$, we have $2^x3^y=32\\times1=32$, so you should print `Yes`."],["37748736","Yes"]],"created_at":"2026-03-03 11:01:14"}}