count=0low,high=eval(input())for i in range(low,high+1):if isdiff(i)==True:print("{} {}".format(i,i*i))count+=1print("总数为:{}".format(count))