Scanf.scanf "%d" (fun n -> print_endline @@ match n with | 6 | 28 -> "Kanzensu!" | 1 | 8 | 27 | 64 -> "Ripposu!" | 4 | 9 | 16 | 25 | 36 | 49 -> "Heihosu!" | 2 | 3 | 5 | 7 | 11 | 13 | 17 | 19 | 23 | 29 | 31 | 37 | 41 | 43 | 47 | 53 | 59 | 61 -> "Sosu!" | _ -> string_of_int n )