{"raw_statement":[{"iden":"problem statement","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$."},{"iden":"constraints","content":"*   $1$ $≤$ $X$ $≤$ $1000$\n*   $X$ is an integer."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$X$"},{"iden":"sample input 1","content":"10"},{"iden":"sample output 1","content":"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$."},{"iden":"sample input 2","content":"1"},{"iden":"sample output 2","content":"1"},{"iden":"sample input 3","content":"999"},{"iden":"sample output 3","content":"961"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}