print('System of 2016, Diploma In Engineering')
I = (float(input('1st semester: '))*5)      
II = (float(input('2nd Semester: '))*5) 
III = (float(input('3rd Semester: '))*5)  
IV = (float(input('4th Semester: '))*10) 
V = (float(input('5th Semester: '))*15)  
VI = (float(input('Six Semester: '))*20)  
VII = (float(input('Seven Semester: '))*25)  
VIII = (float(input('Eight Semester: '))*15)  

Total_CGPA = (I+II+III+IV+V+VI+VII+VIII)/100
print('Total CGPA:', Total_CGPA)

#Coded by Jiya Hasan
