Harryxun/testdata huggingface dataset:
Buggy python submission (verdict: Runtime Error):
x = ""
while True:
    try:
        x += str(input())
    except ValueError:
        pass
alist = list(x)
alphabet = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"]
ALPHABET = ["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]
aa = [0]*27
for num in alist:
    itr =0
    for alp in alphabet:
        if num == alp:
            aa[itr] += 1
        itr += 1
    itr = 0
    for ALP in ALPHABET:
        if num == ALP:
            aa[itr] += 1
        itr += 1
for i in range(26):
    print("{} : {}".format(alphabet[i], aa[i]))


Fixed submission:
import sys
x = ""
x = sys.stdin.read()
# while True:
#     x += str(input())
#     t = time.time()

alist = list(x)
alphabet = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"]
ALPHABET = ["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]
aa = [0]*27
for num in alist:
    itr =0
    for alp in alphabet:
        if num == alp:
            aa[itr] += 1
            break;
        itr += 1
    itr = 0
    for ALP in ALPHABET:
        if num == ALP:
            aa[itr] += 1
            break;
        itr += 1
for i in range(26):
    print("{} : {}".format(alphabet[i], aa[i]))

Buggy python submission (verdict: Runtime Error):
import sys
c = [0]*26
b = "abcdefghijklmnopqrstuvwxyz"
a = sys.stdin.read()
for A in a:
    k = 0
    for B in b:
        if A == B or A == B.upper():
            c[k] += 1
            break
        index += 1
for i in range(len(b)):
    print("%s : %d"%(letters[i],c[i]))


Fixed submission:
import sys
x = ""
x = sys.stdin.read()
# while True:
#     x += str(input())
#     t = time.time()

alist = list(x)
alphabet = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"]
ALPHABET = ["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]
aa = [0]*27
for num in alist:
    itr =0
    for alp in alphabet:
        if num == alp:
            aa[itr] += 1
            break;
        itr += 1
    itr = 0
    for ALP in ALPHABET:
        if num == ALP:
            aa[itr] += 1
            break;
        itr += 1
for i in range(26):
    print("{} : {}".format(alphabet[i], aa[i]))
Buggy python submission (verdict: Runtime Error):
def saiki(stri, i, nagasa):
    if stri[0, i] == stri[1,i]:
        if(nagasa == 1):
            return 1
        else:
            nagasa -=1
            stri.pop(0)
            i +=1
            saiki(stri, i, nagasa)
    else:
        return 0

import sys
input_str = sys.stdin.readlines()
inputs = list(input_str)

for i in range(len(stri[0])):
    if saiki(inputs[0, i], i, len(inputs[1])) ==1:
        print("Yes")
    else:
        if i == len(stri[0]) -1:
            print("No")
        pass


Fixed submission:
a=input()
b=input()
a=a+a[:-1]
if a.find(b)!=-1:
        print("Yes")
else:
        print("No")
Buggy python submission (verdict: Runtime Error):
int(input(x))
print(x ** 3)

Fixed submission:
x = int(input())
print(x ** 3)

Buggy python submission (verdict: Runtime Error):
input(x)
x ** 3

Fixed submission:
x = int(input())
print(x ** 3)
Buggy python submission (verdict: Runtime Error):
S = int(input())
h = S // 3600
m = S // 60
s = S % 60
print(h: m: s

Fixed submission:
S = int(input())
h = S // 3600
m = S % 3600 // 60
s = S % 60
print(h, m, s, sep = ':')
Buggy python submission (verdict: Runtime Error):
nums = input().split()
a = int(nums[0])
b = int(nums[1])
c = int(nums[2])

print(sort(a, b, c))

Fixed submission:
nums = input().split()
a = int(nums[0])
b = int(nums[1])
c = int(nums[2])

if a <= b <= c:
    print(a, b, c)

elif a <= c <= b:
    print(a, c, b)

elif b <= a <= c:
    print(b, a, c)

elif b <= c <= a:
    print(b, c, a)

elif c <= a <= b:
    print(c, a, b)

else:
    print(c, b, a)

Buggy python submission (verdict: Runtime Error):
nums = input().split()
a = int(nums[0])
b = int(nums[1])
c = int(nums[2])

S = sort(a, b, c)
print(S)

Fixed submission:
nums = input().split()
a = int(nums[0])
b = int(nums[1])
c = int(nums[2])

if a <= b <= c:
    print(a, b, c)

elif a <= c <= b:
    print(a, c, b)

elif b <= a <= c:
    print(b, a, c)

elif b <= c <= a:
    print(b, c, a)

elif c <= a <= b:
    print(c, a, b)

else:
    print(c, b, a)
Buggy python submission (verdict: Runtime Error):
(x, y) = (int(i) for i in input().split())
if x = 0 and y = 0:
    break
elif x <= y:
    print(x, y)
elif x >= y:
    print(y, x)

Fixed submission:
while True:
    (x, y) = (int(i) for i in input().split())
    if x == 0 and y == 0:
        break
    elif x <= y:
        print(x, y)
    else:
        print(y, x)

Buggy python submission (verdict: Runtime Error):
while True:
    (x, y) = (int(i) for i in input().split())
    if x = 0 and y = 0:
        break
    elif x <= y:
        print(x, y)
    elif x >= y:
        print(y, x)

Fixed submission:
while True:
    (x, y) = (int(i) for i in input().split())
    if x == 0 and y == 0:
        break
    elif x <= y:
        print(x, y)
    else:
        print(y, x)

Buggy python submission (verdict: Runtime Error):
while True:
    (x, y) = (int(i) for i in input().split())
    if x = 0 and y = 0:
        break
    elif x <= y:
        print(x, y)
    elif x > y:
        print(y, x)

Fixed submission:
while True:
    (x, y) = (int(i) for i in input().split())
    if x == 0 and y == 0:
        break
    elif x <= y:
        print(x, y)
    else:
        print(y, x)

Buggy python submission (verdict: Runtime Error):
while True:
    (x, y) = (int(i) for i in input().split())
    if x = 0 and y = 0:
        break
    elif x <= y:
        print(x, y)
    else:
        print(y, x)

Fixed submission:
while True:
    (x, y) = (int(i) for i in input().split())
    if x == 0 and y == 0:
        break
    elif x <= y:
        print(x, y)
    else:
        print(y, x)
Buggy python submission (verdict: Runtime Error):
count = 0
nums = list(range(a, b))
for i in nums:
    if i % c == 0:
        count + 1
print(count)

Fixed submission:
(a, b, c) = (int(i) for i in input().split())
count = 0
for i in range(a, (b + 1)):
    if c % i == 0:
        count = count + 1
print(count)

Buggy python submission (verdict: Runtime Error):
(a, b, c) = (int(i) for i in input().split())
count = 0
for i in range(a, b + 1)
    if c % i == 0:
        count + 1
print(count)

Fixed submission:
(a, b, c) = (int(i) for i in input().split())
count = 0
for i in range(a, (b + 1)):
    if c % i == 0:
        count = count + 1
print(count)

Buggy python submission (verdict: Runtime Error):
(a, b, c) = (int(i) for i in input().split())
count = 0
for i in range(a, (b + 1))
    if c % i == 0:
        count + 1
print(count)

Fixed submission:
(a, b, c) = (int(i) for i in input().split())
count = 0
for i in range(a, (b + 1)):
    if c % i == 0:
        count = count + 1
print(count)
Buggy python submission (verdict: Runtime Error):
input()
data = input().split()

minimum = print(max(data))
maximum = print(min(data))
total = print(sum(data))

print(minimum, maximum, total)

Fixed submission:
input()
nums = [int(i) for i in input().split()]

maximum = max(nums)
minimum = min(nums)
total = sum(nums)

print(minimum, maximum, total)

Buggy python submission (verdict: Runtime Error):
input()
data = [str(i) for i in input().split()]

minimum = max(data)
maximum = min(data)
total = sum(data)

print(minimum, maximum, total)

Fixed submission:
input()
nums = [int(i) for i in input().split()]

maximum = max(nums)
minimum = min(nums)
total = sum(nums)

print(minimum, maximum, total)

Buggy python submission (verdict: Runtime Error):
input()
data = input().split()

minimum = max(data)
maximum = min(data)
total = sum(data)

print(minimum, maximum, total)

Fixed submission:
input()
nums = [int(i) for i in input().split()]

maximum = max(nums)
minimum = min(nums)
total = sum(nums)

print(minimum, maximum, total)

Buggy python submission (verdict: Runtime Error):
input()
nums = input().split()

maximium = max(nums)
minimium = min(nums)
sums = sum(nums)

print(maximium, minimium, sums)

Fixed submission:
input()
nums = [int(i) for i in input().split()]

maximum = max(nums)
minimum = min(nums)
total = sum(nums)

print(minimum, maximum, total)

Buggy python submission (verdict: Runtime Error):
input()
nums = input().split()
int(nums)

maximium = max(nums)
minimium = min(nums)
sums = sum(nums)

print(maximium, minimium, sums)

Fixed submission:
input()
nums = [int(i) for i in input().split()]

maximum = max(nums)
minimum = min(nums)
total = sum(nums)

print(minimum, maximum, total)

Buggy python submission (verdict: Runtime Error):
input()
nums = [int(i) for i in input().split()]
maximium = max(nums)
minimium = min(nums)
sums = 0
for r in range(len(nums)):
    sums += nums[r]

print(maxinium, minimium, sums)

Fixed submission:
input()
nums = [int(i) for i in input().split()]

maximum = max(nums)
minimum = min(nums)
total = sum(nums)

print(minimum, maximum, total)
Buggy python submission (verdict: Runtime Error):
while True:
    (a, op, b) = input().split()
    a =int(a)
    b =int(b)

    if op == '?':
        break

    elif op == '+':
        print(a + b)

    elif op == '-':
        print(a - b)

    elif op == '*':
        print(a * b)

    elif op == '/':
        print(a // b)

Fixed submission:
(r, c) = [int(i) for i in input().split()]
src = []
for _ in range(r):
    row = [int(i) for i in input().split()]
    row.append(sum(row))
    src.append(row)
last_row = [0 for _ in range(c + 1)]
for rc in range(r):
    for cc in range(c+1):
        last_row[cc] += src[rc][cc]
src.append(last_row)
 
for rc in range(r+1):
    print(' '.join([str(a) for a in src[rc]]))
Buggy python submission (verdict: Runtime Error):
x1,y1,x2,y2=map(int, input().split())
print(((x1-x2)**2+(y1-y2)**2)**0.5)

Fixed submission:
x1,y1,x2,y2=map(float, input().split())
print(((x1-x2)**2+(y1-y2)**2)**0.5)

Buggy python submission (verdict: Runtime Error):
x1,y1,x2,y2=map(int, input().split())
print(((x1-x2)**2+(y1-y2)**2)**0.5)

Fixed submission:
x1,y1,x2,y2=map(float, input().split())
print(((x1-x2)**2+(y1-y2)**2)**0.5)
Buggy python submission (verdict: Runtime Error):
import math
r=int(input())
print("{0:.6f} {1:.6f}".format(r*r*math.pi, 2*r*math.pi))

Fixed submission:
import math
r=float(input())
print("{0:.6f} {1:.6f}".format(r*r*math.pi, 2*r*math.pi))
Buggy python submission (verdict: Runtime Error):
s=input()
for _ in range(int(input())):
    a=input().split()
    i,j=map(int, a[1:3])
    if a[0] == "print":
        print(s[i:j+1])
    elif a[0] == "reverse":
        t1=s[0:i]
        t2=list(s[i:j+1])
        t2.reverse()
        t3=s[j+1:]
        s=t1+"".join(t2)+t3
    else:
        s=s[0:i]+a[3]+s[j+1:]

Fixed submission:
s=input()
for _ in range(int(input())):
    a=input().split()
    i,j=map(int, a[1:3])
    if a[0] == "print":
        print(s[i:j+1])
    elif a[0] == "reverse":
        t1=s[0:i]
        t2=list(s[i:j+1])
        t2.reverse()
        t3=s[j+1:]
        s=t1+"".join(t2)+t3
    else:
        s=s[0:i]+a[3]+s[j+1:]
Buggy python submission (verdict: Runtime Error):
A, B, C = list(ma(int, input().split()))
if A<B<C:
    print('Yes')
else:
    prit('No')

Fixed submission:
a, b, c = list(map(int, input().split()))
if a<b<c:
    print('Yes')
else:
    print('No')
Buggy python submission (verdict: Runtime Error):
inputlines = list(map(int, input().split()))
li = inputlines.sort()
print(' '.join(map(str, li)))

Fixed submission:
inputlines = list(map(int, input().split()))
li = sorted(inputlines)
print(' '.join(map(str, li)))
Buggy python submission (verdict: Runtime Error):
a, b, N = list(map(int, input().split()))

divisors_list = []
for i in range(a,b):
    divisor = N%i
    if divisor == 0:
        divisors_list.append(divisor)

print(len(divisors_list))
a, b, N = list(map(int, input().split()))

divisors_list = []
for i in range(a,b):
    divisor = N%i
    if divisor == 0:
        divisors_list.append(divisor)

print(len(divisors_list))

Fixed submission:
a, b, N = list(map(int, input().split()))

divisors_list = []
for i in range(a,b+1):
    divisor = N%i
    if divisor == 0:
        divisors_list.append(divisor)

print(len(divisors_list))
Buggy python submission (verdict: Runtime Error):
a, b = list(map(int, input().split))

d = int(a/b)
r = a%b
f = a/b

print(d, r, f)

Fixed submission:
a, b = list(map(int, input().split()))

d = int(a/b)
r = a%b
f = round(a/b, 5)

print(d, r, f)
Buggy python submission (verdict: Runtime Error):
while:
    a, op, b = list(map, input().split())
    if op == '?':
        break

    a = int(a)
    b = int(b)
    if op == '+':
        print(a+b)
    elif op == '-':
        print(a-b)
    elif op == '*':
        print(a*b)
    elif op == '/':
        print(a/b)

Fixed submission:
while True:
    a, op, b = input().split()
    a = int(a)
    b = int(b)
    if op == '?':
        break
    elif op == '+':
        print(a + b)
    elif op == '-':
        print(a - b)
    elif op == '*':
        print(a * b)
    elif op == '/':
        print(a//b)

Buggy python submission (verdict: Runtime Error):
a , op , b = input().split()
a = int(a)
b = int(b) 
if op == "?":
  break
elif op == "+":
  print(a+b)
elif op == "-":
  print(a-b) 
elif op == "*":
  print(a*b)
elif op == "/":
  print(a//b)


Fixed submission:
while True:
  a , op , b = map(str,input().split())
  a = int(a)
  b = int(b) 
  if op == "?":
    break
  elif op == "+":
    print(a+b)
  elif op == "-":
    print(a-b) 
  elif op == "*":
    print(a*b)
  elif op == "/":
    print(a//b)
Buggy python submission (verdict: Runtime Error):
cards = [
    "{} {}".format(s, r) for s in ('S', 'H', 'C', 'D') for r in range(1, 13 + 1)
]

count = int(input()

for n in range(count):
    card = input()
    cards.remove(card)

for n in cards:
    print(n)


Fixed submission:
n = int(input())
cards = [[ s+' '+str(n) for n in range(1,14)] for s in ['S','H','C','D']]
for _ in range(n):
   suit,num = input().split()
   if   suit=='S': cards[0][int(num)-1] = 0
   elif suit=='H': cards[1][int(num)-1] = 0
   elif suit=='C': cards[2][int(num)-1] = 0
   elif suit=='D': cards[3][int(num)-1] = 0
for s in cards:
   for n in s:
       if n!=0: print(n)
Buggy python submission (verdict: Runtime Error):
S = input(int)


print(S//3600)
print(':')
print(S//60%60)
print(':')
print(S%60)



Fixed submission:
S = int(input())


print(f'{S//3600}:{S//60%60}:{S%60}')

Buggy python submission (verdict: Runtime Error):
S = input(int)


foo=(str(S//3600)+':'+str(S//60%60)+':'+str(S%60))
print(foo)



Fixed submission:
S = int(input())


print(f'{S//3600}:{S//60%60}:{S%60}')

Buggy python submission (verdict: Runtime Error):
S = input(str)


foo=(str(S//3600)+':'+str(S//60%60)+':'+str(S%60))
print(foo)



Fixed submission:
S = int(input())


print(f'{S//3600}:{S//60%60}:{S%60}')
Buggy python submission (verdict: Runtime Error):
import math

r=int(raw_input())
s=float(r)*r*math.pi
l=float(r)*2*math.pi
print  s,l

Fixed submission:
import math

r=float(raw_input())
s=r*r*math.pi
l=2*r*math.pi

print  "{0:.6f}".format(s),"{0:.6f}".format(l)
Buggy python submission (verdict: Time Limit Exceeded):
import sys

while True:
	a = sys.stdin.readlines()
	for i in range(len(a)):
		b = a[i].split()
		m =int(b[0])
		f =int(b[1])
		r =int(b[2])
		if m*f < 0 and r!=-1:
			print "F"
		elif m==-1 and f==-1 and r==-1:
			break
		else:
			if m+f >= 80:
				print "A"
			elif 80 > m+f >=65:
				print "B"
			elif 65 > m+f >=50:
				print "C"
			elif 50 > m+f >=30 and r < 50:
				print "D"
			elif 50 > m+f >=30 and r >= 50:	
				print "C"
			elif 30 > m+f:
				print "F"

Fixed submission:
import sys

a = sys.stdin.readlines()
for i in range(len(a)):
	b = a[i].split()
	m =int(b[0])
	f =int(b[1])
	r =int(b[2])
	if m*f < 0 :
		print "F"
	elif m==-1 and f==-1 and r==-1:
		break
	else:
		if m+f >= 80:
			print "A"
		elif 80 > m+f >=65:
			print "B"
		elif 65 > m+f >=50:
			print "C"
		elif 50 > m+f >=30 and r < 50:
			print "D"
		elif 50 > m+f >=30 and r >= 50:	
			print "C"
		elif 30 > m+f:
			print "F"
Buggy python submission (verdict: Runtime Error):
a = raw_input().split(" ")
print a[0]*a[1], (a[0]+a[1])*2

Fixed submission:
n = raw_input()
a = n.split(" ")
b = int(a[0])
c = int(a[1])
print str(b*c)+" "+str((b+c)*2)

Buggy python submission (verdict: Runtime Error):
  n = raw_input()
  a = n.split(" ")
  b = int(a[0])
  c = int(a[1])
  print b*c, (b+c)*2

Fixed submission:
n = raw_input()
a = n.split(" ")
b = int(a[0])
c = int(a[1])
print str(b*c)+" "+str((b+c)*2)
Buggy python submission (verdict: Runtime Error):
print(x**3)

Fixed submission:
x = int(input())
print(x**3)

Buggy python submission (verdict: Runtime Error):
a=x**3
print(a)

Fixed submission:
x = int(input())
print(x**3)

Buggy python submission (verdict: Runtime Error):
a=x**3
print(a)

Fixed submission:
x = int(input())
print(x**3)

Buggy python submission (verdict: Runtime Error):
a=x**3
print(int(a))

Fixed submission:
x = int(input())
print(x**3)

Buggy python submission (verdict: Runtime Error):
a=x**3
print(a)

Fixed submission:
x = int(input())
print(x**3)
Buggy python submission (verdict: Runtime Error):
a=input()
b=input()

print(int(a)*int(b)," ",int(a)*2+int(b)*2)

Fixed submission:
i = input()
a,b = list(map(int,i.split()))

print(a*b,2*a+2*b)
Buggy python submission (verdict: Runtime Error):
a, b = [int(x) for x in input().split() if x.isdigit()]
if a < b:
    print("a < b")
elif a > b:
    print("a > b")
else:
    print("a == b")

Fixed submission:
a, b = input().split() 
a, b = int(a), int(b)
if a < b:
    print("a < b")
elif a > b:
    print("a > b")
else:
    print("a == b")
Buggy python submission (verdict: Runtime Error):
r = int(input())
pi = 3.1415926535
area = 2*pi*r
circumference = pi*r**2
print("{0:.6f} {1:.6f}".format(area, circumference))

Fixed submission:
import math
r = float(input())
circumference = math.pi*r**2
area = 2*math.pi*r
print("{0:.6f} {1:.6f}".format(circumference, area))
Buggy python submission (verdict: Runtime Error):
#ITP1_4_C:   Simple Calculator
while True:
    a, op, b = input().split()
    a, b = int(a), int(b)
    if op == '?':
        break
    elif op =='+':
        print(a+b) +1
    elif op =='-':
        print(a-b)    
    elif op =='*':
        print(a*b)
    elif op =='/':
        print(a//b)

Fixed submission:
#ITP1_4_C:   Simple Calculator
while True:
    a, op, b = input().split()
    a, b = int(a), int(b)
    if op == '?':
        break
    elif op =='+':
        print(a+b) 
    elif op =='-':
        print(a-b)    
    elif op =='*':
        print(a*b)
    elif op =='/':
        print(a//b)

Buggy python submission (verdict: Runtime Error):
while True:
    a, op, b = input().split()
    a, b = int(a), int(b)
    if op == '?':
        break
    elif op =='+':
        print(a+b) +1
    elif op =='-':
        print(a-b)    
    elif op =='*':
        print(a*b)
    elif op =='/':
        print(a//b)

Fixed submission:
#ITP1_4_C:   Simple Calculator
while True:
    a, op, b = input().split()
    a, b = int(a), int(b)
    if op == '?':
        break
    elif op =='+':
        print(a+b) 
    elif op =='-':
        print(a-b)    
    elif op =='*':
        print(a*b)
    elif op =='/':
        print(a//b)
Buggy python submission (verdict: Runtime Error):
for i in range(52):
    for j in range(1,5):
        for k in range(1,14):
            cardlist[i] = [j, k]
luckcard = []
num = int(input())
for i in range(num):
    card[i] = [int(x) for x in input().split() if x.isdigit()]
    count = 1
    while True:
        if card[i] == cardlist[count]:
            break
        else:
            luckcard.append(card[i])
        count += 1
luckcard.replace("S","0").replace("H","1").replace("C","2").replace("D","3")
luckcard.sort()
for i in range(52-n):
    luckcard[i][0].replace("0","S").replace("1","H").replace("2","C").replace("3","D")
    print("{0} {1}".format(luckcard[0],luckcard[1]))

Fixed submission:
cardlist = []
card = []

for j in range(1,5):
    for k in range(1,14):
        if j == 1:
            cardlist.append(["S", "{}".format(k)])
        elif j == 2:
            cardlist.append(["H", "{}".format(k)])
        elif j == 3:
            cardlist.append(["C", "{}".format(k)])
        elif j == 4:
            cardlist.append(["D", "{}".format(k)])

num = int(input())

for i in range(num):
    card.append(input().split())

for i in range(num):
    cardlist.remove(card[i])

for i in range(52-num):
    print("{0} {1}".format(cardlist[i][0], cardlist[i][1]))
Buggy python submission (verdict: Runtime Error):
l = [[[0 for r in range(10)] for f in range(3)] for b in range(4)]
n = int(input())
for num in range(n):
    b,f,r,v = [int(x) for x in input().split()]
    data[b-1][f-1][r-1] += v
for b in range(4):
    for f in range(3):
        for r in range(10):
            print('', l[b][f][r], end='')
        print("")
    if b != 3:
        print("#" * 20)

Fixed submission:
l = [[[0 for r in range(10)] for f in range(3)] for b in range(4)]
n = int(input())
for num in range(n):
    b,f,r,v = [int(x) for x in input().split()]
    l[b-1][f-1][r-1] += v
for b in range(4):
    for f in range(3):
        for r in range(10):
            print('', l[b][f][r], end='')
        print("")
    if b != 3:
        print("#" * 20)
Buggy python submission (verdict: Runtime Error):
s=input()
print(s*s*s)


Fixed submission:
s=input()
a=s**3
print(a)

Buggy python submission (verdict: Runtime Error):
s=input()
print(s*s*s)


Fixed submission:
s=input()
a=s**3
print(a)

Buggy python submission (verdict: Runtime Error):
s=input()
print(s**3)


Fixed submission:
s=input()
a=s**3
print(a)

Buggy python submission (verdict: Runtime Error):
s=input()
a=s**3
print(a)


Fixed submission:
s=input()
a=s**3
print(a)