'use strict'

const main = arg => {
 const input = arg.trim().split("\n")[0].split(" ").map(num => parseInt(num, 10));
 const A = input[0];
 const B = input[1];

 const integer = Math.floor(A / B);
 const remainder = A % B;
 var realNumber = (A/B).toFixed(5);

 console.log(`${integer} ${remainder} ${realNumber}`);
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));


