# 7.12.2
#include <stdio.h>
int main(void)
{
char ch;
int count = 0;
while ((ch = getchar()) != '#')
{
printf("%c-%d ", ch, ch);
if ((++count % 8) == 0)
printf("
");
}
printf("Done!
");
return 0;
}