int a = 234;

if(a%10==2)
{
  System.out,println("Hon")
}
else if(a%10==4)
{
  System.out,println("Hon")
}else if(a%10==5)
{
  System.out,println("Hon")
}else if(a%10==7)
{
  System.out,println("Hon")
}else if(a%10==9)
{
  System.out,println("Pon")
}else if(a%10==0)
{
  System.out,println("Pon")
}else if(a%10==1)
{
  System.out,println("Pon")
}else if(a%10==6)
{
  System.out,println("Pon")
}else if(a%10==8)
{
  System.out,println("Pon")
}else if(a%10==3)
{
  System.out,println("Bon")
}