'''
Welcome to GDB Online.
GDB online is an online compiler and debugger tool for C, C++, Python, Java, PHP, Ruby, Perl,
C#, VB, Swift, Pascal, Fortran, Haskell, Objective-C, Assembly, HTML, CSS, JS, SQLite, Prolog.
Code, Compile, Run and Debug online from anywhere in world.
'''
import math
a= 31231242354234534534534534534534534534534534535434645755453543543453534534534534534535345346756423423
b = 31231242354234534534534534534534534534534534535434645755453543543453534534534534534535345346756423423.111
length = (int) (math.log10(a) + 1);
if length ==len(str(abs(a))):
print ('is a perfect int');
n = 31231242354234534534534534534534534534534534535434645755453543543453534534534534534535345346756423423
b = 31231242354234534534534534534534534534534534535434645755453543543453534534534534534535345346756423423.111
if (math.exp(n*math.pi*2))==1:
print ('is a perfect square');