mirror of
https://github.com/codeflash-ai/codeflash-internal.git
synced 2026-05-04 18:25:18 +00:00
12 lines
190 B
Python
12 lines
190 B
Python
def problem_p03556(input_data):
|
|
import math
|
|
|
|
n = int(eval(input_data))
|
|
|
|
for i in range(n, 0, -1):
|
|
|
|
if math.sqrt(i).is_integer():
|
|
|
|
return i
|
|
|
|
break
|