_, G_x, G_y = map(int, input().split()) print(3 * G_x, 3 * G_y)