// Online C compiler to run C program online
#include <stdio.h>
int main() {
float math,bgs,gor,mark,chem,bio,hm,mathgor,chemgor,biogor,math1,chem1,bio1;
printf("JSC Math-");
scanf("%f",&math);
printf("JSC Science/BGS-");
scanf("%f",&bgs);
gor=(math+bgs)/2;
mark=gor*25/100;
printf("SSC Math/Group1-");
scanf("%f",&hm);
printf("SSC Chemistry/Group2-");
scanf("%f",&chem);
printf("SSC Biology/Group3-");
scanf("%f",&bio);
mathgor=hm*75*2/100+mark;
math1=mathgor+mark;
chemgor=chem*75*2/100+mark;
chem1=chemgor+mark;
biogor=bio*75*2/100+mark;
bio1=biogor+mark;
printf("Math/Group1 HSC number- %f\n ",math1);
printf("Chemistry/Group2 HSC number- %f\n ",chem1);
printf("Biology/Group3 HSC number- %f\n ",bio1);
return 0;
}