#include<iostream>
#include<string>
using namespace std;
class F{
int n;
int d;
friend void operator>>(istream& in,F& f);
friend void operator<<(ostream& out,const F& f);
public:
F(int n=0,int d=1):n(n),d(d){};
~F(){};
};
istream& operator>>(istream& in,F& f){
char c;
in>>f.n>>c>>f.d>>endl;
}
ostream& operator<<(ostream& out,const F& f){
out<<f.n<<'/'<<f.d<<endl;
}
int main ()
{
F a;
cin>>a;
cout<<a;
return 0;
}