R, X, Y = map(int, input().split()) print(3 * X, 3 * Y)