#include <stdio.h>
int main(void)
if (b==0){
if (a==1) printf("ten");
else if (a==2) printf("twenty");
else if (a==3) printf("thirty");
else if (a==7) printf("seventy");
else if (a==8) printf("eighty");
else if (a==9) printf("ninety");
}
if (a==1){
if (b==1)
printf("eleven");
else if (b==2)
printf("twelve");
else if (b==3)
printf("thirteen");
else if (b==4)
printf("fourteen");
else if (b==5)
printf("fifteen");
else if (b==6)
printf("sixteen");
else if (b==7)
printf("seventeen");
else if (b==8)
printf("eighteen");
if ((a*10+b)>20 && b!=0){
switch (a){
case 2: printf("twenty-");
case 4: printf("forty-");
break;
case 5: printf("fifty-");
break;
case 6: printf("sixty-");
break;
case 7: printf("seventy-");
break;
case 8: printf("eighty-");
break;
case 9: printf("ninety-");
break;
}
switch (b){
case 1: printf("one");
break;
case 2: printf("two");
break;
case 3: printf("three");
break;
case 4: printf("four");
break;
case 5: printf("five");
break;
case 6: printf("six");
break;
case 7: printf("seven");
break;
case 8: printf("eight");
break;
case 9: printf("nine");
break;
}}
return 0;
}
int main(void)
{
int a,b;
scanf("%1d%1d",&a,&b);if (b==0){
if (a==1) printf("ten");
else if (a==2) printf("twenty");
else if (a==3) printf("thirty");
else if (a==4) printf("forty");
else if (a==5) printf("fifty");
else if (a==6) printf("sixty");else if (a==7) printf("seventy");
else if (a==8) printf("eighty");
else if (a==9) printf("ninety");
}
if (a==1){
if (b==1)
printf("eleven");
else if (b==2)
printf("twelve");
else if (b==3)
printf("thirteen");
else if (b==4)
printf("fourteen");
else if (b==5)
printf("fifteen");
else if (b==6)
printf("sixteen");
else if (b==7)
printf("seventeen");
else if (b==8)
printf("eighteen");
else if (b==9)
printf("nineteen");
}if ((a*10+b)>20 && b!=0){
switch (a){
case 2: printf("twenty-");
break;
case 3: printf("thirty-");
break;case 4: printf("forty-");
break;
case 5: printf("fifty-");
break;
case 6: printf("sixty-");
break;
case 7: printf("seventy-");
break;
case 8: printf("eighty-");
break;
case 9: printf("ninety-");
break;
}
switch (b){
case 1: printf("one");
break;
case 2: printf("two");
break;
case 3: printf("three");
break;
case 4: printf("four");
break;
case 5: printf("five");
break;
case 6: printf("six");
break;
case 7: printf("seven");
break;
case 8: printf("eight");
break;
case 9: printf("nine");
break;
}}
return 0;
}