import sys input = sys.stdin.readline R,GX,GY=map(int,input().split()) print(GX*3,GY*3)