Back to tasks
The average of marks
BeginnerPython for kids 路 Lesson 28: Checking the data - before we calculate
Problem Statement
Read the sum of the marks, then the number of marks. If there are 0 marks, print BRAK OCEN (no marks). Otherwise print the average rounded down (sum // number of marks).
Input Format
Two whole numbers: the sum of marks (0..1000) and the number of marks (0..100), each on its own line.
Output Format
A number or BRAK OCEN.
Examples
Example 1
Input
23 5
Output
4
Example 2
Input
0 0
Output
BRAK OCEN