#include <stdio.h>

int a,b;
int resultq,resultr;

int main ()
{
printf ("Input the first value : ");
scanf ("%d", &a);
printf ("Input the second value : ");
scanf ("%d",&b);

if(a<=0 ||b<=0){
printf("First and Second value should be a positive value");

}
else{
resultq = b / a;
resultr = b % a;
printf("The quotient of the first and second value is: %d", resultq);
printf("The remainder of the first and second value is: %d", resultr);
}
return 0;
} 