#include <stdio.h>
main()
{
int n;

printf("数字以外を入力 _ ");
while (scanf("%d", &n) <= 0) {
printf("暴走中");
}
printf("%d\n", n);
}