#D. 买东西

    Type: Default 1000ms 256MiB

买东西

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Background

小Z有一家超市,超市里有一批待售商品

Description

这批商品一个有n类,每类商品的信息包含商品编号,价格,商品名。 现在请你帮小Z从这类商品中筛选出价格大于p的商品,并输出其商品编号,商品价格,商品名。

Format

Input

第一行输入一个正整数n(1<=n<=100)

第二行输入目标价格p(1<=p<=2000000)

第三到n+2行输入每类商品的商品编号a(1a2000001\leq a \leq 200000),价格b(0b20000000\leq b \leq 2000000)和每类商品的商品名c(1c1001\leq \left\vert c \right\vert \leq 100 )

Output

按输入顺序每行输出满足条件的商品编号,商品价格(保留两位小数)和商品名(中间以一个空格隔开)

如果没有这样的数,输出QAQ

Samples

2

3

11 99.0 afdsehuuioppooi

9 1.0 yktrkkyyuuu
11 99.00 afdsehuuioppooi

Limitation

1s, 1024KiB for each test case.

21级ACM集训预备队第一次周赛

Not Attended
Status
Done
Rule
IOI
Problem
5
Start at
2021-10-30 8:30
End at
2021-10-30 11:30
Duration
3 hour(s)
Host
Partic.
31