Input
There are six lines in the input
The first line contains an integer pl representing number of employees who solved the first and second problems.
The second line contains an integer p2 representing number of employees who solved the second and third problems.
The third line contains an integer p3 representing number of employees who solved the third and first problems.
The fourth line contains an integer q representing number of employees who solved all three problems.
The fifth line contains an integer e representing number of employees in the campus
The sixth line contains an integer representing number of employees who do not participated in the competition.
Output
The output should have two lines,
The first line should contain an integer x representing number of employees who have solved the first problem
The second line should contain an Integer y representing number of employees who have solved exactly one of the 3 problems.
- Time Limit
1
Answers
Answered by
1
Answer:
Please mark every question clearly
Similar questions