<>; for(<>){ ($a,$b,$c)=glob; print int(1e9/$a)*$a,$",int(1e9/$b)*$b,$",int(1e9/$c)*$c,$/; }