R, GX, GY = map(int, input().split()) print(GX*3, GY*3)