Yesterday at kindergarten, Julka surprised her teacher by solving the following riddle:
Klaudia and Natalia have 10 apples together, but Klaudia has 2 more apples than Natalia. How many apples does each girl have?
Julka answered without hesitation: Klaudia has six apples and Natalia has four.
The teacher wanted to check whether Julka's answer was just a lucky guess, so she repeated the riddle, each time using larger numbers of apples. Julka always answered correctly. Impressed, the teacher wanted to keep testing Julka, but with very large numbers she could no longer solve the riddle quickly herself. Help the teacher by writing a program that tells her the answers.
Write a program that:
The input consists of two lines. The first line contains the total number of apples the two girls have together, and the second line contains how many more apples Klaudia has than Natalia. Both numbers are positive integers. Together the girls have at most 10100 apples (a one followed by a hundred zeros). As you can see, the apples can be very tiny.
Your program should print (to standard output) two integers on two consecutive lines, one per line. The first line should contain the number of Klaudia's apples, and the second line the number of Natalia's apples. The girls always have whole apples.