#include <iostream>
#include <sstream>
using namespace std;

int main() {
	double d;
	char c;
	
	while(cin >> d >> c) {
		cout << d << ' ' << c << endl;
	}
}