T288060 洛谷将会臭名昭著!

题目背景

[洛谷将会臭名昭著!](https://www.luogu.com.cn/discuss/61884) —— [Unknown_Error](https://www.luogu.com.cn/user/75446)

题目描述

在2018年,著名 xxs [Unknown_Error](https://www.luogu.com.cn/user/75446) 发布了高呼一声:[洛谷将会臭名昭著!](https://www.luogu.com.cn/discuss/61884) 该帖总共有 $n(n

输入格式

第一行输入 $n$ ,接下来 $n$ 行,每行两个数 $t_i,g_i$ 。

输出格式

一行,输出 $m$。