#include<stdio.h>
#include<conio.h>
int main()
{
int sp,prof;
printf("Enter the total selling price of the 15 items : ");
scanf("%d", &sp );//selling price
printf("\nEnter the total profit on these items : ");
scanf("%d", &prof );//profit
printf("\nCost price of a single item is %d.", (sp-prof)/15);
getch();
return 0;
}