4754: P8267 [USACO22OPEN] Counting Liars B(普及-)
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:2
Solved:2
Description

Input

Output

Sample Input Copy
2
G 3
L 5
Sample Output Copy
0
HINT
