Back to tasks
Sweets for the children
BeginnerPython for kids 路 Lesson 28: Checking the data - before we calculate
Problem Statement
Read the number of sweets, then the number of children. If there are 0 children, print BRAK DZIECI (no children). Otherwise print how many each child gets, and on the second line - how many are left.
Input Format
Two whole numbers: sweets (0..1000) and children (0..100), each on its own line.
Output Format
Exactly the text from the example.
Examples
Example 1
Input
23 4
Output
5 3
Example 2
Input
23 0
Output
BRAK DZIECI