A=list(map(int, input().split())) a,b,c=A print(3*b,3*c)