#include <studio.h>
int main()
{
    long long n, d,a,b;
    scanf("%11d%11d",&n,&d);
    if(d==0)
    {
        printf("Invalid input");
    }
    else
    {
        a=n/d;
        b=n%d;
        printf("%11d,%11d\n",a,b);
    }
    return 0;
    
}