Editorial for Ортақ баға


Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.

Hint 1.

Бір жолда 6 баға берілген, оларды жеке-жеке алып, қосындысын табу керек.

Hint 2.

Ортақ баға — бұл барлық бағалардың қосындысын олардың санына бөлу:
\((a + b + c + d + e + f) \div 6\)

Hint 3.

Нәтиже бөлшек сан болуы мүмкін, сондықтан нақты (floating point) бөлуді қолдану керек.