eye = input() mou = input() print('(' + eye + mou + eye + ')/')