r,x,y = map(int,input().split()) print(f"{3*x} {3*y}")