You are one of the people on-call for a high-availability service that offers users to solve programming tasks. As an organized team, you have an on-call schedule specifying who is responsible for the service at which time. A colleague sends you a new schedule, and you want to make sure that everyone has the same amount of on-call time as before, or print any differences.
The on-call schedule is specified with lines of form , where and represent the start and end offsets of the on-call shift for a teammate from some start hour.
Given a sample schedule
0 7 jan
7 14 tomaz
14 20 jure
20 24 jan
24 25 tomaz
25 26 jure
we can see that jan is on-call for the first hours (hour , and ), tomaz for next , … In total, jan is on-call for hours, tomaz for and jure for .
输入格式
The input contains two schedules separated by a horizontal line ------. Each schedule contains one or more lines of form , where integers and specify that teammate is on-call for hours from up to and excluding . A final line ====== is printed after the second schedule.
输出格式
Output the differences between two schedules, in form , where is the difference between the second and the first schedule for the teammate . The output should be sorted alphabetically by teammates' names and teammates with no differences should be omitted, otherwise the difference should be printed with a + or a - sign. If no differences are found, print No differences found. (without the quotes).
样例
样例输入 1
0 7 jan
7 14 tomaz
14 20 jure
20 24 jan
24 25 tomaz
25 26 jure
------
0 9 tomaz
9 20 jan
20 26 jure
======