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