mirror of
https://github.com/codeflash-ai/codeflash-internal.git
synced 2026-05-04 18:25:18 +00:00
8 lines
139 B
Python
8 lines
139 B
Python
def problem_p02633(input_data):
|
|
from math import gcd
|
|
|
|
x = int(eval(input_data))
|
|
|
|
y = x * 360 // gcd(x, 360)
|
|
|
|
return y // x
|