#include <iostream>
using namespace std;

int main()
{
	char c1, c2;
	cin >> c1 >> c2;
	printf("(%c%c%c)/\n", c1, c2, c1);
    return 0;
}