#include<stdio.h> int main() { double t,c; int n,d; scanf("%lf %d",&t,&n); c=t/n; d=n*2; printf("%.3f %d",c,d); return 0; }