data Stats = Open | Close deriving(Show)

check :: String -> Stats
check x
  | x == "1 0 0" = Close
  | x == "0 1 0" = Close
  | x == "1 1 0" = Open
  | x == "0 0 1" = Open
  | otherwise    = Close

main :: IO()
main = do
  line <- getLine
  print $ check line