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