#P170. 找礼物(find)

找礼物(find)

说明

1_页面_39.jpg

输入格式

描述

输出格式

描述

样例

5 2
Jason 1 1
Herry 4 4
Patty 3 4
Tom 2 10
Petter 5 10
5 1
Patty