(* O(|s|) *)
let s = read_line () in
for i = int_of_char 'a' to int_of_char 'z' do
  let c = char_of_int i in
  try String.index s c |> ignore with
  | _ -> Printf.printf "%c\n" c; exit 0
done;
print_endline "None"