open System

[<EntryPoint>]
let main argv =
    if Console.ReadLine () = "1" then 
        "Hello World" 
    else 
        Console.ReadLine().ToCharArray()
        |> Array.sumBy int
        |> Convert.ToString
    |> Console.WriteLine
    0