#include<stdio.h>
int main(){
    long long n, d;
    if(scanf("%lld", &n) != 1){
        printf("Invalid input");
        return 0;
    }
    if(scanf("lld", &n) != 1 || d ==){
        printf("Invali input");
        return 0;
    }
    long long quotient = n / d;
    long long remainder = n % d;
    printf("%lld,%lld",quotient,remainder);
    return 0;
}