#include <bits/stdc++.h>
using namespace std;
int main(void)
{
size_t a, b;
char ch;
function<string(size_t)> reversenums = [](size_t num) {
size_t result;
string s = to_string(num);
reverse(s.begin(), s.end());
sscanf(s.c_str(), "%zu", &result);
return to_string(result);
};
string ans;
int x = scanf("%zu%[/%.]%zu", &a, &ch, &b);
switch (x)
{
case 3:
ans = reversenums(b) + ans;
case 2:
ans = ch + ans;
case 1:
ans = reversenums(a) + ans;
}
cout << ans << endl;
return 0;
}
in: 84754765.322414
out: 56745748.414223