mouth = int(input()) eyes = int(input()) print( "(", mouth, eyes, mouth, ")" )