'use strict';
(function(stdin) {
  var lines  = stdin.toString().split('\n');
  var param = lines[0].split(' ').map(Number);
  var result = (function(a,b) {
    return [
        ~~(a / b)
        ,(a % b)
        ,(a / b).toFixed(5)
    ].join(' ');
  }(param[0],param[1]
  ));
  console.log(result);
}(require('fs').readFileSync('/dev/stdin', 'utf8')));