main :: IO ()
main = do
    n <- fmap read getLine :: IO Int
    solve n

solve :: Int -> IO ()
solve 1 = putStrLn "Hello World"
solve _ = do
    a <- fmap read getLine :: IO Int
    b <- fmap read getLine :: IO Int
    print $ a + b
