import java.util.*;
class Abc
{
static int Hundred(int N)
{
int q=N/100;
switch(q)
{
case 1:{System.out.println(" One Hundred");break;}
case 2:{System.out.println(" Two Hundred");break;}
case 3:{System.out.println(" Three Hundred");break;}
case 4:{System.out.println(" Four Hundred");break;}
case 5:{System.out.println(" Five Hundred");break;}
case 6:{System.out.println(" Six Hundred");break;}
case 7:{System.out.println(" Seven Hundred");break;}
case 8:{System.out.println(" Eight Hundred");break;}
case 9:{System.out.println(" Nine Hundred");break;}
}
return N%100;
}
static int Unit3(int N)
{
int q=N/10;
switch(q)
{
case 2:{System.out.println(" Twenty ");break;}
case 3:{System.out.println(" Thirty ");break;}
case 4:{System.out.println(" Fourty ");break;}
case 5:{System.out.println(" Fivty ");break;}
case 6:{System.out.println(" Sixty ");break;}
case 7:{System.out.println(" Seventy ");break;}
case 8:{System.out.println(" Eighty ");break;}
case 9:{System.out.println(" Ninty ");break;}
}
return N%10;
}
static void Unit2(int N)
{
switch(N)
{
case 10:{System.out.println(" Ten ");break;}
case 11:{System.out.println(" Eleven ");break;}
case 12:{System.out.println(" Twelve ");break;}
case 13:{System.out.println(" Thirteen ");break;}
case 14:{System.out.println(" Fourteen ");break;}
case 15:{System.out.println(" Fifteen ");break;}
case 16:{System.out.println(" sixteen ");break;}
case 17:{System.out.println(" Seventeen ");break;}
case 18:{System.out.println(" Eighteen ");break;}
case 19:{System.out.println(" Ninetn ");break;}
}
}
static void Unit(int N)
{
switch(N)
{
case 1:{System.out.println(" One ");break;}
case 2:{System.out.println(" Two ");break;}
case 3:{System.out.println(" Three ");break;}
case 4:{System.out.println(" Four ");break;}
case 5:{System.out.println(" Five ");break;}
case 6:{System.out.println(" Six ");break;}
case 7:{System.out.println(" Seven ");break;}
case 8:{System.out.println(" Eight ");break;}
case 9:{System.out.println(" Nine ");break;}
}
}
public static void main(String []args)
{
Scanner sc =new Scanner(System.in);
System.out.println("Enter a Number ");
int N=sc.nextInt();
if((N>99)&&(N<1000)){N=Hundred(N);}
if((N>19)&&(N<100)){N=Unit3(N);}
if((N>9)&&(N<20)){Unit2(N);}
if((N>0)&&(N<10)) {Unit(N);}
}
}
class Abc
{
static int Hundred(int N)
{
int q=N/100;
switch(q)
{
case 1:{System.out.println(" One Hundred");break;}
case 2:{System.out.println(" Two Hundred");break;}
case 3:{System.out.println(" Three Hundred");break;}
case 4:{System.out.println(" Four Hundred");break;}
case 5:{System.out.println(" Five Hundred");break;}
case 6:{System.out.println(" Six Hundred");break;}
case 7:{System.out.println(" Seven Hundred");break;}
case 8:{System.out.println(" Eight Hundred");break;}
case 9:{System.out.println(" Nine Hundred");break;}
}
return N%100;
}
static int Unit3(int N)
{
int q=N/10;
switch(q)
{
case 2:{System.out.println(" Twenty ");break;}
case 3:{System.out.println(" Thirty ");break;}
case 4:{System.out.println(" Fourty ");break;}
case 5:{System.out.println(" Fivty ");break;}
case 6:{System.out.println(" Sixty ");break;}
case 7:{System.out.println(" Seventy ");break;}
case 8:{System.out.println(" Eighty ");break;}
case 9:{System.out.println(" Ninty ");break;}
}
return N%10;
}
static void Unit2(int N)
{
switch(N)
{
case 10:{System.out.println(" Ten ");break;}
case 11:{System.out.println(" Eleven ");break;}
case 12:{System.out.println(" Twelve ");break;}
case 13:{System.out.println(" Thirteen ");break;}
case 14:{System.out.println(" Fourteen ");break;}
case 15:{System.out.println(" Fifteen ");break;}
case 16:{System.out.println(" sixteen ");break;}
case 17:{System.out.println(" Seventeen ");break;}
case 18:{System.out.println(" Eighteen ");break;}
case 19:{System.out.println(" Ninetn ");break;}
}
}
static void Unit(int N)
{
switch(N)
{
case 1:{System.out.println(" One ");break;}
case 2:{System.out.println(" Two ");break;}
case 3:{System.out.println(" Three ");break;}
case 4:{System.out.println(" Four ");break;}
case 5:{System.out.println(" Five ");break;}
case 6:{System.out.println(" Six ");break;}
case 7:{System.out.println(" Seven ");break;}
case 8:{System.out.println(" Eight ");break;}
case 9:{System.out.println(" Nine ");break;}
}
}
public static void main(String []args)
{
Scanner sc =new Scanner(System.in);
System.out.println("Enter a Number ");
int N=sc.nextInt();
if((N>99)&&(N<1000)){N=Hundred(N);}
if((N>19)&&(N<100)){N=Unit3(N);}
if((N>9)&&(N<20)){Unit2(N);}
if((N>0)&&(N<10)) {Unit(N);}
}
}