Buggy python submission (verdict: Runtime Error):
n = int(raw_input())
s = raw_input()
aa = s.split(" ")
aaa = []
for i in range(n):
	aaa.append((i+1,int(aa[i])))

ctr = 0

for (a,b) in aaa:
	if (b,a) in aaa:
		# aaa.remove((a,b))
		# aaa.remove((b,a))
		ctr = ctr + 1
ctr = ctr / 2
print(str(ctr))

Fixed submission:
s = raw_input()
s2 = s[:4] + " " + s[4:]
print(s2)

Buggy python submission (verdict: Runtime Error):
n = int(raw_input())
s = raw_input()
aa = s.split(" ")
aaa = []
for i in range(n):
	aaa.append((i+1,int(aa[i])))

ctr = 0

for (a,b) in aaa:
	if a == b:
		aaa.remove((a,b))
	if (b,a) in aaa:
		aaa.remove((a,b))
		aaa.remove((b,a))
		ctr = ctr + 1

print(str(ctr))

Fixed submission:
s = raw_input()
s2 = s[:4] + " " + s[4:]
print(s2)

Buggy python submission (verdict: Runtime Error):
n = int(raw_input())
s = raw_input()
aa = s.split(" ")
aaa = []
for i in range(n):
	aaa.append((i+1,int(aa[i])))

ctr = 0

for (a,b) in aaa:
	if (b,a) in aaa:
		aaa.remove((a,b))
		aaa.remove((b,a))
		ctr = ctr + 1

print(str(ctr))

Fixed submission:
s = raw_input()
s2 = s[:4] + " " + s[4:]
print(s2)

Buggy python submission (verdict: Runtime Error):
n = int(raw_input())
print(str(n))
# a = raw_input()
# aa = a.split(" ")
# aaa = []
# for i in range(len(aa)):
# 	aaa.append((i+1,int(aa[i])))

# ctr = 0

# for (a,b) in aaa:
# 	if (b,a) in aaa:
# 		aaa.remove((a,b))
# 		aaa.remove((b,a))
# 		ctr = ctr + 1

# print(str(ctr))

Fixed submission:
s = raw_input()
s2 = s[:4] + " " + s[4:]
print(s2)

Buggy python submission (verdict: Runtime Error):
n = int(raw_input())
a = raw_input()
aa = a.split(" ")
aaa = []
for i in range(len(aa)):
	aaa.append((i+1,int(aa[i])))

ctr = 0

for (a,b) in aaa:
	if (b,a) in aaa:
		aaa.remove((a,b))
		aaa.remove((b,a))
		ctr = ctr + 1

print(str(ctr))

Fixed submission:
s = raw_input()
s2 = s[:4] + " " + s[4:]
print(s2)

Buggy python submission (verdict: Runtime Error):
N = int(raw_input())
# a = raw_input()
# aa = a.split(" ")
# aaa = []
# for i in range(len(aa)):
# 	aaa.append((i+1,int(aa[i])))

# ctr = 0

# for (a,b) in aaa:
# 	if (b,a) in aaa:
# 		aaa.remove((a,b))
# 		aaa.remove((b,a))
# 		ctr = ctr + 1

# print(str(ctr))

Fixed submission:
s = raw_input()
s2 = s[:4] + " " + s[4:]
print(s2)

Buggy python submission (verdict: Runtime Error):
N = int(raw_input())
a = raw_input()
aa = a.split(" ")
aaa = []
# for i in range(len(aa)):
# 	aaa.append((i+1,int(aa[i])))

ctr = 0

# for (a,b) in aaa:
# 	if (b,a) in aaa:
# 		aaa.remove((a,b))
# 		aaa.remove((b,a))
# 		ctr = ctr + 1

print(str(ctr))

Fixed submission:
s = raw_input()
s2 = s[:4] + " " + s[4:]
print(s2)

Buggy python submission (verdict: Runtime Error):
N = int(raw_input())
a = raw_input()
aa = a.split(" ")
aaa = []
for i in range(len(aa)):
	aaa.append((i+1,int(aa[i])))

ctr = 0

# for (a,b) in aaa:
# 	if (b,a) in aaa:
# 		aaa.remove((a,b))
# 		aaa.remove((b,a))
# 		ctr = ctr + 1

print(str(ctr))

Fixed submission:
s = raw_input()
s2 = s[:4] + " " + s[4:]
print(s2)

Buggy python submission (verdict: Runtime Error):
N = int(raw_input())
a = raw_input()
aa = a.split(" ")
aaa = []
for i in range(len(aa)):
	aaa.append((i+1,int(aa[i])))

ctr = 0

for (a,b) in aaa:
	if (b,a) in aaa:
		aaa.remove((a,b))
		aaa.remove((b,a))
		ctr = ctr + 1

print(str(ctr))

Fixed submission:
s = raw_input()
s2 = s[:4] + " " + s[4:]
print(s2)

Buggy python submission (verdict: Runtime Error):
N = int(raw_input())
a = raw_input()
aa = a.split(" ")
aaa = []
for i in range(len(aa)):
	aaa.append((i+1,int(aa[i])))

ctr = 0

for (a,b) in aaa:
	if (b,a) in aaa:
		aaa.remove((a,b))
		aaa.remove((b,a))
		ctr = ctr + 1

print(str(ctr))

Fixed submission:
s = raw_input()
s2 = s[:4] + " " + s[4:]
print(s2)

Buggy python submission (verdict: Runtime Error):
N = int(raw_input())
a = raw_input()
aa = a.split(" ")
aaa = []
for i in range(len(aa)):
	aaa.append((i+1,int(aa[i])))

ctr = 0

for (a,b) in aaa:
	if (b,a) in aaa:
		ctr = ctr + 1

ctr = ctr / 2
print(str(ctr))

Fixed submission:
s = raw_input()
s2 = s[:4] + " " + s[4:]
print(s2)

Buggy python submission (verdict: Runtime Error):
N = int(raw_input())
a = raw_input()
aa = a.split(" ")
aaa = []
for i in range(len(aa)):
	aaa.append((i+1,int(aa[i])))

ctr = 0

for (x,y) in aaa:
	if (y,x) in aaa:
		ctr = ctr + 1
ctr = ctr / 2
print(str(ctr))

Fixed submission:
s = raw_input()
s2 = s[:4] + " " + s[4:]
print(s2)

Buggy python submission (verdict: Runtime Error):
N = int(raw_input())
a = raw_input()
aa = a.split(" ")
aaa = []
for i in range(len(aa)):
	aaa.append((i+1,int(aa[i])))

ctr = 0

for (x,y) in aaa:
	if (y,x) in aaa:
		ctr = ctr + 1
		aaa.remove( (y,x) )
print(str(ctr))

Fixed submission:
s = raw_input()
s2 = s[:4] + " " + s[4:]
print(s2)

Buggy python submission (verdict: Runtime Error):
N = int(raw_input())
a = raw_input()
aa = a.split(" ")
aaa = []
for i in range(len(aa)):
	aaa.append((i+1,int(aa[i])))

ctr = 0

for (x,y) in aaa:
	if (y,x) in aaa:
		ctr = ctr + 1
		aaa.remove( (y,x) )
	aaa.remove((x,y))
print(str(ctr))

Fixed submission:
s = raw_input()
s2 = s[:4] + " " + s[4:]
print(s2)

Buggy python submission (verdict: Runtime Error):
N = int(raw_input())
a = raw_input()
aa = a.split(" ")
aaa = []
for i in range(len(aa)):
	aaa.append((i+1,int(aa[i])))

ctr = 0

for (x,y) in aaa:
	if (y,x) in aaa:
		ctr = ctr + 1
		aaa.remove( (y,x) )
	aaa.remove((x,y))
print(aaa)

Fixed submission:
s = raw_input()
s2 = s[:4] + " " + s[4:]
print(s2)

Buggy python submission (verdict: Runtime Error):
s = raw_input()
s2 = s[:4] + " " + s[4:]
print(s2)

Fixed submission:
s = raw_input()
s2 = s[:4] + " " + s[4:]
print(s2)

Buggy python submission (verdict: Runtime Error):
s = raw_input()
print(s[:4] + " " + s[4:])

Fixed submission:
s = raw_input()
s2 = s[:4] + " " + s[4:]
print(s2)

Buggy python submission (verdict: Runtime Error):
s = raw_input()
print s[:4] + " " + s[4:]

Fixed submission:
s = raw_input()
s2 = s[:4] + " " + s[4:]
print(s2)

Buggy python submission (verdict: Runtime Error):
s = raw_input()
print s[:4] + " " + s[4:]

Fixed submission:
s = raw_input()
s2 = s[:4] + " " + s[4:]
print(s2)

Buggy python submission (verdict: Runtime Error):
s = raw_input()
print(s[:4] + ' ' +s[4:])

Fixed submission:
s = raw_input()
s2 = s[:4] + " " + s[4:]
print(s2)