Buggy python submission (verdict: Runtime Error):
data = [
    "{0} {1}".format(s, r)
    for s in ('S', 'H', 'C', 'D')
    for r in range(1, 13 + 1)
    ]

count = int(input())
for c in range(count):
    card = input()
    data.remove(card)

print("\n".join(data))

Fixed submission:
input()
a = input().split()
a.reverse()
print(" ".join(a))

Buggy python submission (verdict: Runtime Error):
data = [
    "{0} {1}".format(s, r)
    for s in ('S', 'H', 'C', 'D')
    for r in range(1, 13 + 1)
    ]

count = int(input())
for c in range(count):
    card = input()
    data.remove(card)

print("\n".join(data))

Fixed submission:
input()
a = input().split()
a.reverse()
print(" ".join(a))

Buggy python submission (verdict: Runtime Error):
data = [
    "{0} {1}".format(s, r)
    for s in ('S', 'H', 'C', 'D')
    for r in range(1, 13 + 1)
    ]
 
count = int(input())
for c in range(count):
    card = input()
    data.remove(card)
 
for c in data:
    print(c)

Fixed submission:
input()
a = input().split()
a.reverse()
print(" ".join(a))

Buggy python submission (verdict: Runtime Error):
data = [
    "{0} {1}".format(s, r)
    for s in ('S', 'H', 'C', 'D')
    for r in range(1, 13 + 1)
    ]
 
count = int(input())
for c in range(count):
    card = input()
    data.remove(card)
 
for c in data:
    print(c)

Fixed submission:
input()
a = input().split()
a.reverse()
print(" ".join(a))

Buggy python submission (verdict: Runtime Error):
data = [
    "{0} {1}".format(s, r)
    for s in ('S', 'H', 'C', 'D')
    for r in range(1, 13 + 1)
    ]
 
count = int(input())
for c in range(count):
    card = input()
    data.remove(card)
 
for c in data:
    print(c)

Fixed submission:
input()
a = input().split()
a.reverse()
print(" ".join(a))

Buggy python submission (verdict: Runtime Error):
data = [
    "{0} {1}".format(s, r)
    for s in ('S', 'H', 'C', 'D')
    for r in range(1, 13 + 1)
    ]
 
count = int(input())
for c in range(count):
    card = input()
    data.remove(card)
 
for c in data:
    print(c)

Fixed submission:
input()
a = input().split()
a.reverse()
print(" ".join(a))

Buggy python submission (verdict: Runtime Error):
data = [
    "{0} {1}".format(s, r)
    for s in ('S', 'H', 'C', 'D')
    for r in range(1, 13 + 1)
    ]
 
count = int(input())
for c in range(count):
    card = input()
    data.remove(card)
 
for c in data:
    print(c)

Fixed submission:
input()
a = input().split()
a.reverse()
print(" ".join(a))

Buggy python submission (verdict: Runtime Error):
data = [
    "{0} {1}".format(s, r)
    for s in ('S', 'H', 'C', 'D')
    for r in range(1, 13 + 1)
    ]
 
count = int(input())
for c in range(count):
    card = input()
    data.remove(card)
 
for c in data:
    print(c)

Fixed submission:
input()
a = input().split()
a.reverse()
print(" ".join(a))

Buggy python submission (verdict: Runtime Error):
data = [
    "{0} {1}".format(s, r)
    for s in ('S', 'H', 'C', 'D')
    for r in range(1, 13 + 1)
    ]
 
count = int(input())
for c in range(count):
    card = input()
    data.remove(card)
 
for c in data:
    print(c)

Fixed submission:
input()
a = input().split()
a.reverse()
print(" ".join(a))

Buggy python submission (verdict: Runtime Error):
data = [
    "{0} {1}".format(s, r)
    for s in ('S', 'H', 'C', 'D')
    for r in range(1, 13 + 1)
]
 
count = int(input())
for c in range(count):
    card = input()
    data.remove(card)
 
for c in data:
    print(c)

Fixed submission:
input()
a = input().split()
a.reverse()
print(" ".join(a))

Buggy python submission (verdict: Runtime Error):
data = [
    "{0} {1}".format(s, r)
    for s in ('S', 'H', 'C', 'D')
    for r in range(1, 13 + 1)
       ]
 
count = int(input())
for c in range(count):
    card = input()
    data.remove(card)
 
for c in data:
    print(c)

Fixed submission:
input()
a = input().split()
a.reverse()
print(" ".join(a))