#include <iostream> using namespace std; int main() { int a; for (int i = 1; i <= 4; i++) { scanf ("%1d", &a); cout << a << " "; } return 0; }