Buggy python submission (verdict: Runtime Error):
N, *S = map(open(0).read().split())
print(len(set(S))

Fixed submission:
N = int(input())
S = list()
for i in range(N):
  x = input()
  S.append(x)
  
A = set(S)
print(len(A))

Buggy python submission (verdict: Time Limit Exceeded):
import sys
input = sys.stdin.readline
N = int(input())
S = [input() for i in range(N)]
count = 0
while len(S) >0:
  [S for S in S if S != S[0]]
  count += 1

print(count)

Fixed submission:
N = int(input())
S = list()
for i in range(N):
  x = input()
  S.append(x)
  
A = set(S)
print(len(A))

Buggy python submission (verdict: Runtime Error):
import sys
input = sys.stdin.readline
N = int(input())
= []
S_append = S.append
S = [input() for _ in range(N)]
count = 0
while len(S) >0:
  S.remove(S[0])
  count += 1
 
print(count)

Fixed submission:
N = int(input())
S = list()
for i in range(N):
  x = input()
  S.append(x)
  
A = set(S)
print(len(A))

Buggy python submission (verdict: Runtime Error):
import sys
input = sys.stdin.readline
N = int(input())
= []
S_append = S.append
S = [input() for _ in range(N)]
count = 0
while len(S) >0:
  S.remove(S[0])
  count += 1

print(count)

Fixed submission:
N = int(input())
S = list()
for i in range(N):
  x = input()
  S.append(x)
  
A = set(S)
print(len(A))

Buggy python submission (verdict: Time Limit Exceeded):
import sys
input = sys.stdin.readline
N = int(input())
S = []
S_append = S.append
for i in range(N):
  data=input()
  if data not in S:
    S_append(data)
print(len(S))

Fixed submission:
N = int(input())
S = list()
for i in range(N):
  x = input()
  S.append(x)
  
A = set(S)
print(len(A))

Buggy python submission (verdict: Time Limit Exceeded):
N=int(input())
S = []
S_append = S.append
for i in range(N):
  data=input()
  if data not in S:
    S_append(data)
print(len(S))

Fixed submission:
N = int(input())
S = list()
for i in range(N):
  x = input()
  S.append(x)
  
A = set(S)
print(len(A))

Buggy python submission (verdict: Time Limit Exceeded):
N=int(input())
S = []
S_append = S.append
for i in range(N):
  data=input()
  if data not in S:
    S_append(data)
print(len(S))

Fixed submission:
N = int(input())
S = list()
for i in range(N):
  x = input()
  S.append(x)
  
A = set(S)
print(len(A))

Buggy python submission (verdict: Time Limit Exceeded):
N=int(input())
S = []
while N > 0:
  data=input()
  N-=1
  if data not in S:
    S.append(data)
print(len(S))

Fixed submission:
N = int(input())
S = list()
for i in range(N):
  x = input()
  S.append(x)
  
A = set(S)
print(len(A))

Buggy python submission (verdict: Time Limit Exceeded):
N=int(input())
S = []
while N > 0:
  data=input()
  N-=1
  if data not in S:
    S.append(data)
print(len(S))

Fixed submission:
N = int(input())
S = list()
for i in range(N):
  x = input()
  S.append(x)
  
A = set(S)
print(len(A))

Buggy python submission (verdict: Time Limit Exceeded):
N=int(input())
S = []
for i in range(N):
  data=input()
  if data not in S:
    S.append(data)
print(len(S))

Fixed submission:
N = int(input())
S = list()
for i in range(N):
  x = input()
  S.append(x)
  
A = set(S)
print(len(A))

Buggy python submission (verdict: Time Limit Exceeded):
N=int(input())
S = []
for i in range(N):
  data=input()
  if data in S:
    pass
  else:
    S.append(data)
print(len(S))

Fixed submission:
N = int(input())
S = list()
for i in range(N):
  x = input()
  S.append(x)
  
A = set(S)
print(len(A))

Buggy python submission (verdict: Time Limit Exceeded):
N=int(input())
S = []
for i in range(N):
  data=input()
  if data in S:
    pass
  else:
    S.append(data)
print(len(S))

Fixed submission:
N = int(input())
S = list()
for i in range(N):
  x = input()
  S.append(x)
  
A = set(S)
print(len(A))