#include using namespace std; int main() { double S,K; cin >> S >> K; printf("%lf %lf",S/1000,K*1000); // your code goes here return 0; }