Problem 28560 --电影评分

28560: 电影评分

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 1  Solved: 1
[Submit][Status][Web Board][Creator:][下载FPS0元][添加到购物车][下载测试数据0元][680kb]

Description

Input

Output

Sample Input

10
R 1 1 1
R 2 2 1 2
C 2 2
R 3 1 2
Q 1
C 3 2
C 1 5
Q 1
Q 2
Q 3

Sample Output

2
1
3
2

HINT

Source

[Submit][Status]