>>602
#include <stdio.h>
#include <string.h>

int main()
{
int x, y, z;
char s[1000];
fgets(s, 1000, stdin);
if (strcmp(s, "\n") == 0 || sscanf(s, "%d%d%d", &x, &y, &z) != 3)
puts("死ね");
else
printf("%d, %d, %d\n", x, y, z); /*表示*/
return 0;
}

なんかいまいち初心者むけじゃないもののようなきもするが