R,Gx,Gy = map(int, input().split()) print(Gx*3,Gy*3)