#include <stdio.h>
#include <iostream>
using namespace std;
int main()
{
double a,d;
int b;
char c;
cin>>a>>b>>c>>d;
cout<<c<<" "<<b<<" ";
printf("%.2f %.2f",a,d);
}
#include <stdio.h>
#include <iostream>
using namespace std;
int main()
{
double a,d;
int b;
char c;
cin>>a>>b>>c>>d;
cout<<c<<" "<<b<<" ";
printf("%.2f %.2f",a,d);
}