Back to tasks
Candies
BeginnerPython for kids 路 Lesson 18: Module 1 summary: First steps
Problem Statement
The first line holds the number of candies, and the second the number of children (> 0). Print on one line how many each child gets and how many are left.
Input Format
Two lines: candies (0..1000) and children (1..100).
Output Format
Exactly the text from the example.
Examples
Example 1
Input
23 4
Output
5 3