#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,d; scanf("%d,%d",&a,&b); c=a/b; d=a%b; printf("%d\n,%d\n",c,d); }