#include <stdio.h>
int main() {
   
int a =15;
int b =2;
scanf("%d%d",&a,&b);
printf("%d%c%d",a/b,32,a%b);
    return 0;
}