#include <stdio.h>
#include <string.h>
int main()
{
int i;
char kelime[10];
char mors[26][6]={{".-|"},{"-...|"},{"-.-.|"},
{"-..|"},{".|"},{"..-.|"},{"--.|"},{"....|"},
{"..|"},{".---|"},{"-.-|"},{".-..|"},{"--|"},
{"-.|"},{"---|"},{".--.|"},{"--.-|"},{".-.|"},
{"...|"},{"-|"},{"..-|"},{"...-|"},{".--|"},
{"-..-|"},{"-.--|"},{"--..|"}};
printf("\n");
printf(" -EN FAZLA 10 HARF GiREBiLiRSiNiZ- ");
printf("\n");
printf("\n");
printf(" KELiMEYi GiRiNiZ : ");
scanf("%s",kelime);
printf("\n");
strupr(kelime);
for (i=0;i<=9;i++)
{
if (kelime[i]>='A'&&kelime[i]<='Z')
printf("%s",mors[kelime[i]-65]);
}
return 0;
}