a,b,c=list(map(int,input().split()))

print((['Close','Open'][(a&b)^c]))
a,b,c=list(map(int,input().split()))

print((['Close','Open'][a&b^c]))
a, b, c = list(map(int, input().split()))
print((["Close", "Open"][(a & b) ^ c]))

a, b, c = list(map(int, input().split()))
print((["Close", "Open"][a & b ^ c]))

-print((["Close", "Open"][(a & b) ^ c])) +print((["Close", "Open"][a & b ^ c]))