#include<stdio.h>
#include<conio.h>
int minNum(int A, int K,int P)
{
int res = 1;
for(A;A<=K;A+2)
{
for(K;A<=K;K+4)
{
res=res+1;
}
}
return res;
}
void main()
{
int A,K,P;
printf("Enter number of problems Asha solves in a day:");
scanf("%d",&A);
printf("Enter number of problems Kelly solves in a day:");
scanf("%d",&K);
printf("Enter number of problems Asha is ahead to begin:");
scanf("%d",&P);
minNum(A,K,P);
}