       'use strict';
        (function(stdin) {
          var inputs  = stdin.toString().split(' ').map(Number);
          var a = inputs[0];
          var b = inputs[1];

          // console.log(a,b);
var n = Math.floor(a / b);
var m = a % b;
var r = a / b;

console.log(n,m,r)
    }(require('fs').readFileSync('/dev/stdin', 'utf8')));