x=int(input()) y=int(input()) a=int(x//y) b=x%y c=x/y c=float(c) print(a,b,sep=' ') d=("{:.2f}".format(c)) print(d)
//是向下取整