using System;

public class test
{
  static void Main ()
  {
    int n = 991;
    int val = n % 10;

    Console.WriteLine("" + val);

    switch(val)
    {
      case 2:
      case 4:
      case 5:
      case 7:
      case 9:
        Console.WriteLine("hon");
        break;

      case 0:
      case 1:
      case 6:
      case 8:
        Console.WriteLine("pon");
        break;

      case 3:
        Console.WriteLine("bon");
        break;
    }
  }
}