>>501
#include <stdio.h>
#include <ctype.h>

#define N 49

int main(void)
{
char buf[N];
int i = 0;

fgets(buf, N, stdin);

while (i < N) {
if (isdigit(buf[i]))
buf[i] = '#';
i++;
}

puts(buf);

return 0;
}