//入出力用
use std::io::*;
use std::str::FromStr;

fn read<T: FromStr>() -> T {
    let stdin = stdin();
    let stdin = stdin.lock();
    let token: String = stdin
        .bytes()
        .map(|c| c.expect("failed to read char") as char) 
        .skip_while(|c| c.is_whitespace())
        .take_while(|c| !c.is_whitespace())
        .collect();
    token.parse().ok().expect("failed to parse token")
}


fn main() {
    let s: Vec<char> = read::<String>().chars().collect();
    let mut book = char;
    if s.last() == '2' | '4' | '5' | '7' | '9' { book = "hon"; }
    if s.last() == '0' | '1' | '6' | '8' { book = "hon"; }
    if s.last() == '3' { book = "hon"; }
    println!("{}", book);
}
