R,Gx,Gy = map(int, input().split()) print(Gx*R/5*3,Gy*R/5*3)