#include #define rep(i,n) for(int i=0;i=0;i--) #define FOR(i,m,n) for(int i=m;i inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; } template inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; } //const ll INF = 1LL << 60; //const int INF = 1001001001; const ll mod = 1000000007; int main(void){ string s="(^o^)/"; char x,y; cin >> x >> y; s[1]=x;s[2]=y;s[3]=x; cout << s << endl; }