qyliang/CodeNanoFix huggingface dataset:
Buggy code:
a, b = input().split()
s = int(a + b)
if (s ** 0.5) ** 2 == s:
    print("Yes")
else:
    print("No")

Fixed code:
a, b = input().split()
s = int(a + b)
if (int(s ** 0.5)) ** 2 == s:
    print("Yes")
else:
    print("No")
Buggy code:
a,b = map(str,input().split())

ab =  a + b 

ab1 = int(ab)

for i in range(100):
  if i **2 == ab1:
    print('Yes')
    break
  
  elif i == 100:
    print('No')

Fixed code:
a,b = map(str,input().split())

ab =  a + b 

ab1 = int(ab)

for i in range(10001):
  if i **2 == ab1:
    print('Yes')
    break
  
  elif i == 10000:
    print('No')
Buggy code:
ab = input().split()

num = int(''.join(ab))
sqrt = int(num) ** 0.5

if num == sqrt ** 2:
    print('Yes')
else:
    print('No')


Fixed code:
ab = input().split()

num = int(''.join(ab))
sqrt = int(num) ** 0.5

if num == int(sqrt) ** 2:
    print('Yes')
else:
    print('No')
Buggy code:
a, b = input().split()
c = int(a+b)**0.5%1
print("Yes") if c == 0 else "No"

Fixed code:
a,b = input().split()
c = int(a+b)
print("Yes" if c**0.5 == int(c**0.5) else "No")
Buggy code:
a, b = input().split()
c = int(a+b)**0.5%1

d = []
for i in range(317):
    d.append(i*i)
    
print("Yes") if c in d else "No"

Fixed code:
a, b = input().split()
c = int(a+b)**0.5%1

d = []
for i in range(317):
    d.append(i*i)
    
print("Yes" if c in d else "No")
Buggy code:
a,b=input()
ab=int("a"+"b")
ans=0
for i in range(350):
	if int(ab**(1/2))==i:
      print("Yes")
      ans+=1
      quit()
if ans==0:
  print("No")
    

Fixed code:
a,b=input().split()
ab=int(a+b)
ans=0
for i in range(350):
	if ab**(1/2)==i:
	    print("Yes")
	    ans+=1
	    quit()
if ans==0:
  print("No")
Buggy code:
import math

a,b = input().split()
c = int(a+b)
root = math.sqrt(c)

if root*root == c:
  print("Yes")
else:
  print("No")





Fixed code:
import math

a,b = input().split()
c = int(a+b)
root = int(math.sqrt(c))

if root*root == c:
  print("Yes")
else:
  print("No")
Buggy code:
import math
a, b = input().split()
ab = int(a + b)
ans = 'No'
if math.sqrt(ab) ** 2 == ab:
    ans = "Yes"
print(ans)

Fixed code:
import math
a, b = input().split()
ab = int(a + b)
ans = 'No'
if int(math.sqrt(ab)) ** 2 == ab:
    ans = "Yes"
print(ans)
Buggy code:
a, b = map(int, input().split())
print(a, b)
s = int(str(a) + str(b))
print(s)
if int(s ** (1/2)) ** 2 == s:
  print("Yes")
else:
  print("No")

Fixed code:
a, b = map(int, input().split())
s = int(str(a) + str(b))
if int(s ** (1/2)) ** 2 == s:
  print("Yes")
else:
  print("No")
Buggy code:
import math

a, b = map(str, input().split())
num = int(a + b)

if math.sqrt(num)is_integer():
  print('Yes')
else:
  print('No')

Fixed code:
import math
 
a, b = map(str, input().split())
num = int(a + b)
 
if math.sqrt(num).is_integer():
  print('Yes')
else:
  print('No')
Buggy code:
#-*- coding: utf-8 -*- 
import numpy as np
a,b = map(str, input().split())
p = int(a+b)
 
if p == int(np.sqrt(p))**2 :
   print("Yes")
else:
   print(No)
 

Fixed code:
#-*- coding: utf-8 -*- 
import numpy as np
a,b = map(str, input().split())
p = int(a+b)
 
if p == int(np.sqrt(p))**2 :
   print("Yes")
else:
   print("No")
Buggy code:
l=list(map(str,input().split()))
l=int(l[0]+l[1])
print(l)
temp=False
for i in range(1000):
        if i*i==l:
          temp=True
          break
if temp==True:
    print("Yes")
else:
    print("No")

Fixed code:
l=list(map(str,input().split()))
l=int(l[0]+l[1])
temp=False
for i in range(1000):
        if i*i==l:
          temp=True
          break
if temp==True:
    print("Yes")
else:
    print("No")
Buggy code:
import math
a,b=input().split()
n=int(a+b)
if math.sqrt(n)**2==n:
  print("Yes")
else:
  print("No")

Fixed code:
from math import sqrt
a, b = input().split()
n = int(a+b)
if(int(sqrt(n))**2 == n):
    print("Yes")
else:
    print("No")
Buggy code:
import math
a, b = input().split()
c = a + b
c = int(c)
d = math.sqrt(c)
if d ** 2 == c:
    print("Yes")
else:
    print("No")

Fixed code:
import math
a, b = input().split()
c = a + b
c = int(c)
d = math.sqrt(c)
if int(d) == d:
    print("Yes")
else:
    print("No")
Buggy code:
a,b=map(str,input().split())
c=a+b
c=int(int(c)**(1/2))
if isinstance(c, int)==True:
    print('Yes')
else:
    print('No')

Fixed code:
a,b=map(str,input().split())
c=a+b
c=(int(c)**(1/2))
if (c.is_integer())==True:
    print('Yes')
else:
    print('No')
Buggy code:
a,b=input().split()
c=int(a+b)
print('Yes' if c**(1/2)==c else 'No')

Fixed code:
a,b=input().split()
c=int(a+b)
print('Yes' if (int(c**(1/2)))**2==c else 'No')
Buggy code:
import math
n = int("".join(list(map(str,input().split()))))
if int(math.sqrt(n)**2)==n:print("Yes")
else:print("No")

Fixed code:
import math
n = int("".join(list(map(str,input().split()))))
if int(math.sqrt(n))**2==n:print("Yes")
else:print("No")
Buggy code:
import math;['No','Yes'][math.sqrt(int(input().replace(' ','')))%1>0]

Fixed code:
import math;print(['Yes','No'][math.sqrt(int(input().replace(' ','')))%1>0])
Buggy code:
# ABC 086: B – 1 21
a, b = [int(s) for s in input().split()]
the_number = int(a + b)

print('Yes' if (the_number ** 0.5) ** 2 == the_number else 'No')

Fixed code:
# ABC 086: B – 1 21
a, b = [s for s in input().split()]
the_number = int(a + b)

print('Yes' if (int(the_number ** 0.5)) ** 2 == the_number else 'No')
Buggy code:
from math import sqrt
a,b = input().split()
s = int(a+b)
if sqrt(s)**2 == s:
  print("Yes")
else:
  print("No")


Fixed code:
from math import sqrt
a,b = input().split()
s = int(a+b)
if int(sqrt(s))**2 == s:
  print("Yes")
else:
  print("No")
Buggy code:
k = int(input().replace(' ', '')) ** (1 / 2)
print('Yes' if int(k) ** int(k) == k ** k else 'No')

Fixed code:
k = int(input().replace(' ', '')) ** (1 / 2)
print('Yes' if int(k) == k else 'No')
Buggy code:
a,b=input().split()
num=len(b)
a=int(a)
b=int(b)
c=a*10**num+b
for i in range(200):
  d=i*i
  if(c==d):
    print("Yes")
    break
  elif(c<d):
    print("No")
    break

Fixed code:
a,b=input().split()
num=len(b)
a=int(a)
b=int(b)
c=a*10**num+b
for i in range(1000):
  d=i*i
  if(c==d):
    print("Yes")
    break
  elif(c<d):
    print("No")
    break
Buggy code:
import math
a, b = map(str, input().split())
c = a + b
d = int(c)
e = math.sqrt(d)
if(e**2 == d):
  print("Yes")
else:
  print("No")

Fixed code:
import math
a, b = map(str, input().split())
c = a + b
d = int(c)
e = int(math.sqrt(d))
if(e**2 == d):
  print("Yes")
else:
  print("No")
Buggy code:
import math

a,b = input().split()
p = int(a+b)
r = math.sqrt(p)
if (p == r*r):
  print('Yes')
else:
  print('No')

Fixed code:
import math

a,b = input().split()
p = int(a+b)
r = int(math.sqrt(p))
if (p == r*r):
  print('Yes')
else:
  print('No')
Buggy code:
import math

a, b = map(int, input().split())
ab = int(str(a) + str(b))
if ab == (math.sqrt(ab) ** 2):
    print('Yes')
else:
    print('No')

Fixed code:
from math import sqrt
a, b = map(str,input().split())
if int(sqrt(int(a + b))) ** 2 == int(a + b): print("Yes")
else: print("No")
Buggy code:
a, b = map(string, input().split())
ab = int(a+b)
if ab**0.5 - int(ab**0.5) == 0:
 print("Yes")
else:
 print("No")

Fixed code:
a, b = map(str, input().split())
ab = int(a+b)
if ab**0.5 - int(ab**0.5) == 0:
 print("Yes")
else:
 print("No")
Buggy code:
from math import sqrt
a,b=map(int,input().split())
A={10**len(str(b))}*a
sq=A+b
if sqrt(sq)==int(sqrt(sq)):
  print('Yes')
else:
  print('No')

  


Fixed code:
from math import sqrt
a,b=map(int,input().split())
B=len(str(b))
A=(10**B)*a
sq=A+b
if sqrt(sq)==int(sqrt(sq)):
  print('Yes')
else:
  print('No')
Buggy code:
c=int(input().replace(' ', ''))
print("Yes" if c==int((c**.5)**2) else "No")

Fixed code:
c=int(input().replace(' ', ''))
print("Yes" if c==int(c**.5)**2 else "No")
Buggy code:
import math
ina=input().split()
i=int(ina[0]+ina[1])
if math.sqrt(i)**2 == i:
    print("Yes")
else:
    print("No")

Fixed code:
import math
ina=input().split()
i=int(ina[0]+ina[1])
if int(math.sqrt(i))**2 == i:
    print("Yes")
else:
    print("No")
Buggy code:
da=[i**2 for i in range(1000)]
a,b=map(str,input().split())
x=a+b
n=int(x)
print(n)
if n in da:
    print('Yes')
else:
    print('No')


Fixed code:
da=[i**2 for i in range(1000)]
a,b=map(str,input().split())
x=a+b
n=int(x)
#print(n)
if n in da:
    print('Yes')
else:
    print('No')
Buggy code:
print("Yes" if int(input().replace(" ",""))**0.5%1==0 else "No)

Fixed code:
print("Yes" if int(input().replace(" ",""))**0.5%1==0 else "No")
Buggy code:
a,b = map (str,input().split())
s = a+b
for i in range(400):
  if s == i ** 2:
    count += 1
  else:
    count+=0
if count>1:
  print('Yes')
else:
  print('No')

Fixed code:
a,b = map (str,input().split())
c = a+b
s = int(c)
count=0
for i in range(400):
  if s == i ** 2:
    count += 1
  else:
    count+=0
if count>0:
  print('Yes')
else:
  print('No')
Buggy code:
a, b = map(input().split())
x = int(a+b)

if (int(x**0.5))**2 == x:
    print("Yes")
else:
    print("No")


Fixed code:
a, b = map(str, input().split())
x = int(a+b)

if (int(x**0.5))**2 == x:
    print("Yes")
else:
    print("No")
Buggy code:
import math
a=input().split()
d=int(a[0]+a[1])
x=int(math.sqrt(d))
x=x*x
print("YES" if x==d else "No")

Fixed code:
import math
a=input().split()
d=int(a[0]+a[1])
x=int(math.sqrt(d))
x=x*x
print("Yes" if x==d else "No")
Buggy code:
a,b = input().split()
s = a+b
print("Yes" if int(s)**(1/2) == int((int(s)**(1/2))**2) else "No")

Fixed code:
a,b = input().split()
s = a+b
print("Yes" if int((int(s)**(1/2)))**2 == int((int(s)**(1/2))**2) else "No")
Buggy code:
import math
x = int(''.join(input().split()))
p = math.sqrt(x)
print("Yes" if p * p == x else "No")








Fixed code:
import math
x = int(''.join(input().split()))
p = round(math.sqrt(x))
print("Yes" if p * p == x else "No")
Buggy code:
import math 
a, b = map(str, input().split())
c = a + b
d = int(c)
e = int(math.sqrt(d))
if e * e == d:
  print("Yes")

Fixed code:
import math 
a, b = map(str, input().split())
c = a + b
d = int(c)
e = int(math.sqrt(d))
if e * e == d:
  print("Yes")
else:
  print("No")
Buggy code:
from math import sqrt
a,b=input().split()
c=sqrt.(int(a+b))
if c==int(c):
  print("Yes")
else:
  print("No")

Fixed code:
import math
a,b=input().split()
c=math.sqrt(int(a+b))
if c==int(c):
  print("Yes")
else:
  print("No")
Buggy code:
from marh import sqrt
a,b=input().split()
c=sqrt(int(a+b))
if c==int(c):
  print("Yes")
else:
  print("No")

Fixed code:
from math import sqrt
a,b=input().split()
c=sqrt(int(a+b))
if c==int(c):
  print("Yes")
else:
  print("No")
Buggy code:
import math
a,b=input().split()
c=a+b
d=math.sqrt(float(c))

if d*d==int(c):
    print('Yes')
else:
    print('No')

Fixed code:
import math
a,b=input().split()
c=a+b
d=math.floor(math.sqrt(float(c)))

if int(d*d)==int(c):
    print('Yes')
else:
    print('No')
Buggy code:
import math
num = int(input().replace(' ', ''))

if math.sqrt(num).is_interger() == False:
  print("Yes")
else:
  print("No")

Fixed code:
import math
num = int(input().replace(' ', ''))

if math.sqrt(num).is_integer() == False:
  print("No")
else:
  print("Yes")
Buggy code:
import math
a,b = input().split
num = int(a+b)
print('Yes' if is_integer(math.sqrt(num)) else 'No')

Fixed code:
import math
a,b=input().split()
n=int(a+b)
print("Yes" if math.sqrt(n).is_integer() else "No")
Buggy code:
a, b = input().split()
l_a = len(a)
l_b = len(b)
if (int(a)*(10**l_b) + int(b))**0.5.is_integer():
  print('Yes')
else:
  print('No')


Fixed code:
a, b = input().split()
l_a = len(a)
l_b = len(b)
if ((int(a)*(10**l_b) + int(b))**0.5).is_integer():
  print('Yes')
else:
  print('No')
Buggy code:
a,b = input().split()
s = int(a+b)
for i in range(s**0.5+1):
  if s == i**2:
    print("Yes")
    exit()
print("No")

Fixed code:
a,b = input().split()
s = int(a+b)
for i in range(int(s**0.5)+1):
  if s == i**2:
    print("Yes")
    exit()
print("No")
Buggy code:
def resolve():
	a,b=map(str,input().split())
	s=int(a+b)
	print('Yes' if int(s**0.5)**2==s else 'No')


Fixed code:
def resolve():
	a,b=map(str,input().split())
	s=int(a+b)
	print('Yes' if int(s**0.5)**2==s else 'No')
resolve()
Buggy code:

a,b = input().split()

n = int(a+b)

for i in range(1000):
  if i**2 = n:
    print("Yes")
    exit()

print("No")

Fixed code:

a,b = input().split()

n = int(a+b)

for i in range(1000):
  if i**2 == n:
    print("Yes")
    exit()

print("No")
Buggy code:
a,b = input().split()
c = a+b
import math
if int(math.sqrt(c)) ** 2 == c:
  print("Yes")
else:
  print("No")

Fixed code:
a,b = input().split()
c = a+b
c = int(c)
import math
if int(math.sqrt(c)) ** 2 == c:
  print("Yes")
else:
  print("No")
Buggy code:
import math
 
n = int(input().replace(' ', ''))

ans = 'No' if (math.sqrt(n) % 1).is_integer else 'Yes'
print(ans)

Fixed code:
import math
 
n = int(input().replace(' ', ''))

ans = 'No' if math.sqrt(n) % 1 else 'Yes'
print(ans)
Buggy code:
n = int("".join(input().split()))
x = n**(1/2)
if x%1 != 0:
    print("No")
else:
    print(int(x))

Fixed code:
n = int("".join(input().split()))
x = n**(1/2)
if x%1 != 0:
    print("No")
else:
    print("Yes")
Buggy code:
import math
b, c = map(str, input().split())
d = int(b + c)
print(d)
e = math.sqrt(d)
f = int(e)
if(e-f==0):
    print('Yes')
else:
    print('No')


Fixed code:
import math
b, c = map(str, input().split())
d = int(b + c)
e = math.sqrt(d)
f = int(e)
if(e-f==0):
    print('Yes')
else:
    print('No')
Buggy code:
n = input().replace(' ', '')
m = int(n ** 0.5 + 1e-6)
print('Yes' if n == m * m else 'No')

Fixed code:
n = int(input().replace(' ', ''))
m = int(n ** 0.5 + 1e-6)
print('Yes' if n == m * m else 'No')
Buggy code:
a,b = input().split()
num_1 = int(a+b)
num_2 = num_1**0.5
if num_1 == num_2 **2:
  print('Yes')
else:
  print('No')

Fixed code:
a,b = input().split()
num_1 = int(a+b)
num_2 = int(num_1**0.5)
if num_1 == num_2 **2:
  print('Yes')
else:
  print('No')
Buggy code:
a, b = input().split()
m = int(a+b)
m_hei = int(m**0.5)
m_mult = m_hei*m_hei
print(m)
if m_mult == m:
    print("Yes")
else:
    print("No")

Fixed code:
a, b = input().split()
m = a+b
m_int =  int(m)
m_hei = int(m_int**0.5)
m_mult = m_hei*m_hei
if m_mult == m_int:
    print("Yes")
else:
    print("No")
Buggy code:
a,b = [int(i) for in input().split()]

res = int(str(a)+str(b))**0.5
if int(res)==res:
  print("Yes")
else:
  print("No")


Fixed code:
a,b = [int(i) for i in input().split()]

res = int(str(a)+str(b))**0.5
if int(res)==res:
  print("Yes")
else:
  print("No")
Buggy code:
n = int(input().replace(' ',''))
print('Yes' if (n*(1/2))**2 == n else 'No')

Fixed code:
n = int(input().replace(' ',''))
print('Yes' if (int(n**(1/2)))**2 == n else 'No')
Buggy code:
import math

a,b = map(int,input().split())
num = int(a+b)
if math.sqrt(num) % 1 == 0:
  print('Yes')
else:
  print('No')

Fixed code:
import math

a,b = input().split()
num = int(a+b)
if math.sqrt(num) % 1 == 0:
  print('Yes')
else:
  print('No')
Buggy code:
ab = int(input().replace(" ", "")
if ab ** (1 / 2) % 1 == 0:
  print("Yes")
else:
  print("No")

Fixed code:
ab = int(input().replace(" ", ""))
if ab ** (1 / 2) % 1 == 0:
  print("Yes")
else:
  print("No")
Buggy code:
import math
def main():
    a, b = map(int, input().split())
    r = math.sqrt(int(a + b))
    if r**2 == int(a + b):
        print("Yes")
    else:
        print("No")
main()

Fixed code:
import math
def main():
    a, b = input().split()
    r = math.floor(math.sqrt(int(a + b)))
    if r**2 == int(a + b):
        print("Yes")
    else:
        print("No")
main()
Buggy code:
a,b=map(int, input().split())
ab=int(str(a)+str(b))
if ab^0.5.is_integer():
  print('Yes')
else:
  print('No')

Fixed code:
a,b=map(int, input().split())
ab=int(str(a)+str(b))**0.5
if ab.is_integer():
  print('Yes')
else:
  print('No')
Buggy code:
ab_str = input()
a, b = ab_str.split()
ab = int(a+b)
rtab = ab**0.5
if rtab.is_integer:
  print('Yes')
else:
  print('No')

Fixed code:
ab_str = input()
a, b = ab_str.split()
ab = int(a+b)
rtab = ab**0.5
if rtab.is_integer():
     print('Yes')
if not rtab.is_integer():
    print('No')
Buggy code:
import math
a,b=input().split()
x=int(a+b)
if math.sqrt(x).is_integer:
	print('Yes')
else:
	print('No')

Fixed code:
import math
a,b=input().split()
x=int(a+b)
if math.sqrt(x).is_integer ()== True:
	print('Yes')
else:
	print('No')
Buggy code:
a, b = map(int, input().split())
n = 10 * a + b
if n == int(int(n**0.5)**2):
  print("Yes")
else:
  print("No")

Fixed code:
a, b = map(int, input().split())
n = int(str(a)+str(b))
if n == int(n**0.5)**2:
  print("Yes")
else:
  print("No")
Buggy code:
a = int(input().replace(" ", ""))
print("Yes" if a == (a**0.5)**2 else "No")

Fixed code:
a = int(input().replace(" ", ""))
print("Yes" if a == int(a**0.5)**2 else "No")
Buggy code:
import sys
input = sys.stdin.readline

N, M, = map(int, input().split())
t = N * M
c = t ** 0.5

if c == int(c):
    print("Yes")
else:
    print("No")

Fixed code:
import sys
input = sys.stdin.readline

N, M, = map(int, input().split())
t = int(str(N) + str(M))
c = t ** 0.5

if int(c) == c:
    print("Yes")
else:
    print("No")
Buggy code:
a, b = input().split()
target = a + b

heihousuu = [i ** 2 for i in range(1000) if i ** 2 <= 100100]

for h in heihousuu:
    if target == h:
        print('Yes')
        break
else:
    print('No')

Fixed code:
a, b = input().split()
target = a + b

heihousuu = [i ** 2 for i in range(1000) if i ** 2 <= 100100]

if int(target) in heihousuu:
    print('Yes')
else:
    print('No')
Buggy code:
import math

a, b = input().split()
n = int(a + b)

if sqrt(n) ** 2 == n:
    print("Yes")
else:
    print("No")


Fixed code:
import math

a, b = input().split()
n = int(a + b)

if math.floor(math.sqrt(n)) ** 2 == n:
    print("Yes")
else:
    print("No")
Buggy code:
a,b = input().split()
abint = int(a+b)

for i in range(500):
  for j in range(500):
    if i*j == abint:
      print("Yes")
      exit()
print("No")

Fixed code:
a,b = input().split()
abint = int(a+b)

for i in range(500):
   if i*i == abint:
     print("Yes")
     exit()
print("No")
Buggy code:
a,b = map(str, input().split())
s = a + b
if int(s)**0.5.is_integer():
  print("Yes")
else:
  print("No")

Fixed code:
a,b=map(str, input().split())
f=int(a+b)**0.5
if f.is_integer():
    print("Yes")
else:
    print("No")
Buggy code:
a,b = map(ste,input().split())
s = a+b
l = []
for i in range(320):
  l.append(i*i)

if int(s) in l:
  print('Yes')
else:
  print('No')


Fixed code:
a,b = map(str,input().split())
s = a+b
l = []
for i in range(320):
  l.append(i*i)

if int(s) in l:
  print('Yes')
else:
  print('No')
Buggy code:
import math
a, b = input().split())
c = int(a+ b)
 
if math.sqrt(c).is_integer() == True:
    print('Yes')
else:
    print('No')

Fixed code:
import math
a, b = map(str,input().split())
c = int(a+ b)
 
if   math.sqrt(c).is_integer() == True:
    print('Yes')
else:
    print('No')
Buggy code:
import math
a,b = input().split()
s =int(a+b)

if float(int(math.sqrt(s))) == int(math.sqrt(s)):
  print("Yes")
else:
  print("No")

Fixed code:
import math
a,b = input().split()
s =int(a+b)

if math.sqrt(s).is_integer():
  print("Yes")
else:
  print("No")
Buggy code:
import math
a,b=input().split()

ss=str(a)+str(b)
num=int(ss)
n=math.sqrt(num)

if (n*n==num):
  print("Yes")
else:
  print("No")

Fixed code:
import math
a,b=input().split()

ss=str(a)+str(b)
num=int(ss)
n=math.sqrt(num)

if (int(n)*int(n)==num):
  print("Yes")
else:
  print("No")
Buggy code:
import math
a,b=map(str,input().split())
ab=a+b
ab=int(ab)
if math.sqrt(ab).is_integer()=='True':print('Yes')
else:print('No')

Fixed code:
import math
a,b=map(str,input().split())
ab=a+b
ab=int(ab)
if math.sqrt(ab).is_integer()==True:print('Yes')
else:print('No')
Buggy code:
a,b= input().split()
target = int(a+b)
print("Yes" if math.pow(target,1/2).is_integer() else "No")

Fixed code:
import math
a,b= input().split()
target = int(a+b)
print("Yes" if math.pow(target,1/2).is_integer() else "No")
Buggy code:
import math
n = input()
n = int(n.replace(' ', ''))

re = 'No'
for n == int(math.sqrt(n) ** 2):
    re = 'Yes'
        
print(re)

Fixed code:
import math
n = input()
n = int(n.replace(' ', ''))

re = 'No'
if n == int(math.sqrt(n)) ** 2:
    re = 'Yes'
        
print(re)
Buggy code:
import math
a, b = map(str, input().split())
c = a+b
print(round(math.sqrt(int(c))))
print(int(c))
if round(math.sqrt(int(c)))**2 == int(c):
  print('Yes')
else:
  print('No')

Fixed code:
import math
a, b = map(int, input().split())
c = int(str(a) + str(b))
if int(math.sqrt(c)) ** 2 == c:
  print('Yes')
else:
  print('No')
Buggy code:
a,b = input().split()

S = int(a+b)

if math.sqrt(S).is_integer() == True:
    print("Yes")
else:
    print("No")

Fixed code:
a,b = input().split()
import math
S = int(a+b)

if math.sqrt(S).is_integer() == True:
    print("Yes")
else:
    print("No")
Buggy code:
import math

s = input().split()
if math.sqrt(int(s[0])+int(s[1]))%1==0:
    print("Yes")
else:
    print("No")


Fixed code:
import math
 
s = input().split()
if math.sqrt(int(s[0]+s[1]))%1==0:
    print("Yes")
else:
    print("No")
Buggy code:
# coding: utf-8
import sys
input = sys.stdin.readline

N = int(input().replace(" ", ""))
print("Yes" if N**0.5.is_integer() else "No")


Fixed code:
# coding: utf-8
import sys
input = sys.stdin.readline

N = int(input().replace(" ", ""))
print("Yes" if N**0.5 == int(N**0.5) else "No")
Buggy code:
import math

a,b = map(str,input().split())

c = a + b

if(math.sqrt(c) == int(math.sqrt(c))):
  print('Yes')
else:
  print('No')

Fixed code:
import math

a, b =map(str, input().split())
c=a+b
c=int(c)
if math.sqrt(c)==int(math.sqrt(c)):
    print('Yes')
else:
    print('No')
Buggy code:
a, b = input().split()

c = a + b
c = int(c)
print(c)

cc = math.sqrt(c)


if cc%1 == 0:
    print("Yes")
    

else:
    print("No")


Fixed code:
import math

a, b = input().split()

c = a + b
c = int(c)
cc = math.sqrt(c)


if cc%1 == 0:
    print("Yes")
    

else:
    print("No")
Buggy code:
from math import sqrt
# python template for atcoder1
import sys
sys.setrecursionlimit(10**9)
input = sys.stdin.readline

a, b = input().split()
n = int(a+b)
if n == sqrt(n)**2:
    print("Yes")
else:
    print("No")


Fixed code:
from math import sqrt
# python template for atcoder1
import sys
sys.setrecursionlimit(10**9)
input = sys.stdin.readline

a, b = input().split()
n = int(a+b)
if int(sqrt(n)) == sqrt(n):
    print("Yes")
else:
    print("No")
Buggy code:
a,b=map(str,input().split())
n=int(a+b)
for i in range(0,110):
  if i**2==a:
    print('Yes')
   	exit()
print('No')
  

Fixed code:
a,b=map(str,input().split())
n=int(a+b)
for i in range(0,1000):
    if i**2==n:
        print('Yes')
        exit()
print('No')
Buggy code:
def heihou(a,b):
  c=a+b
  s=int(c)
  s=s**1/2
  if s.is_integer():
    return "Yes"
  else:
    return "No"
a,b=map(str,input().split())
print(heihou(a,b))

Fixed code:
def heihou(a,b):
  c=a+b
  s=int(c)
  s=pow(s,1/2)
  if s.is_integer():
    return "Yes"
  else:
    return "No"
a,b=map(str,input().split())
print(heihou(a,b))
Buggy code:
from math import sqrt
a, b = input().split()
n = int(a+b)
if sqrt(n) == int(sqrt(n)):
  print("Yes")
else
  print("No")


Fixed code:
from math import sqrt
a, b = input().split()
n = int(a+b)
if sqrt(n) == int(sqrt(n)):
  print("Yes")
else:
  print("No")
Buggy code:
import sys

def main():
    a = sys.stdin.readline().rstrip().split()
    num = int("".join(a))
    if math.sqrt(num).is_integer():
        print("Yes")
    else:
        print("No")


if __name__ == '__main__':
    main()

Fixed code:
import sys
import math

def main():
    a = sys.stdin.readline().rstrip().split()
    num = int("".join(a))
    if math.sqrt(num).is_integer():
        print("Yes")
    else:
        print("No")


if __name__ == '__main__':
    main()
Buggy code:
import math
a, b = map(str, input().split())
r = float(a+b)
if math.sqrt(r)**2 == r:
  print("Yes")
else:
  print("No")

Fixed code:
import math
a, b = map(str, input().split())
r = int(a+b)
if int(math.sqrt(r))**2 == r:
  print("Yes")
else:
  print("No")
Buggy code:
a, b=map(int,input().split())
n=len(b)
A=a*(10**n)+b

T=(int(A**0.5))**2

if A==T:
  print('Yes')
else:
  print('No')


Fixed code:
#a, b=map(int,input().split())

a, b=input().split()
n=len(b)
na = int(a)
nb = int(b)
A=na*(10**n)+nb
 
T=(int(A**0.5))**2
 
if A==T:
  print('Yes')
else:
  print('No')