_, x, y = map(int, input().split()) print(3 * x, 3 * y)