#include<iostream> #include<cstdio> using namespace std; int main(void){ int a,b,c; while(scanf("(%d, %d, %d)",&a,&b,&c)!=EOF){ getchar(); printf("%d %d %d\n",a,b,c); } return 0; }