from math import sqrt a,b=map(int,input().split()) if a