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