A football team lines up in rows to have a photograph taken. The position of each player is given by two integers x and y: y is the row number and x is the distance from the left edge of that row to the player. Within one test case all x values are different.
To make the photo more interesting, players who stand near each other get shirts of different colors. The rule for a player P is this.
Written formally, if there are players at (x1,y1) and (x2,y2) with x1<x2, the two players must have different shirt colors when both of these hold.
Find the minimum number of distinct shirt colors that makes such an assignment possible.
The first line contains one integer T, the number of test cases. Each test case starts with a line containing one integer N, the number of players, followed by N lines that each give the position of one player in the form
x y
Limits
For each test case, print one line in the form
Case #X: c
where X is the test case number starting from 1 and c is the minimum number of shirt colors.