Sanggeun both loves and hates the Olympics. He loves them because he gets to watch many different sporting events, and he hates them because several events run at the same time, so he cannot watch all of them live.
He has just arrived at the Olympic venues. Given the date, start time, and end time of every event, determine the maximum number of events Sanggeun can watch live.
The rules are as follows.
The first line contains the number of test cases n.
The first line of each test case contains the number of events m (1≤m≤50000). Each of the next m lines contains three integers d, s, and e describing one event, where d is the date the event is held, s is its start time, and e is its end time. Times are given in hhmm format, and every event ends on the day it starts.
For each test case, first print Scenario #i:, where i is the test case number starting from 1. On the next line, print the maximum number of events Sanggeun can watch. Print one blank line between the outputs of consecutive test cases.