{"problem":{"name":"Exponential","description":{"content":"You are given a positive integer $X$. Find the largest _perfect power_ that is at most $X$. Here, a perfect power is an integer that can be represented as $b^p$, where $b$ is an integer not less than ","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc097_b"},"statements":[{"statement_type":"Markdown","content":"You are given a positive integer $X$. Find the largest _perfect power_ that is at most $X$. Here, a perfect power is an integer that can be represented as $b^p$, where $b$ is an integer not less than $1$ and $p$ is an integer not less than $2$.\n\n## Constraints\n\n*   $1$ $≤$ $X$ $≤$ $1000$\n*   $X$ is an integer.\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$X$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc097_b","tags":[],"sample_group":[["10","9\n\nThere are four perfect powers that are at most $10$: $1$, $4$, $8$ and $9$. We should print the largest among them, $9$."],["1","1"],["999","961"]],"created_at":"2026-03-03 11:01:14"}}