{"problem":{"name":"Takahashikun, The Strider","description":{"content":"Takahashi is standing on a two-dimensional plane, facing north. Find the minimum positive integer $K$ such that Takahashi will be at the starting position again after he does the following action $K$ ","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"agc046_a"},"statements":[{"statement_type":"Markdown","content":"Takahashi is standing on a two-dimensional plane, facing north. Find the minimum positive integer $K$ such that Takahashi will be at the starting position again after he does the following action $K$ times:\n\n*   Go one meter in the direction he is facing. Then, turn $X$ degrees counter-clockwise.\n\n## Constraints\n\n*   $1 \\leq X \\leq 179$\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":"agc046_a","tags":[],"sample_group":[["90","4\n\nTakahashi's path is a square."],["1","360"]],"created_at":"2026-03-03 11:01:14"}}