{"problem":{"name":"Theater","description":{"content":"Joisino is working as a receptionist at a theater. The theater has $100000$ seats, numbered from $1$ to $100000$. According to her memo, $N$ groups of audiences have come so far, and the $i$\\-th group","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc073_b"},"statements":[{"statement_type":"Markdown","content":"Joisino is working as a receptionist at a theater.\nThe theater has $100000$ seats, numbered from $1$ to $100000$.\nAccording to her memo, $N$ groups of audiences have come so far, and the $i$\\-th group occupies the consecutive seats from Seat $l_i$ to Seat $r_i$ (inclusive).\nHow many people are sitting at the theater now?\n\n## Constraints\n\n*   $1≤N≤1000$\n*   $1≤l_i≤r_i≤100000$\n*   No seat is occupied by more than one person.\n*   All input values are integers.\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$N$\n$l_1$ $r_1$\n$:$\n$l_N$ $r_N$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc073_b","tags":[],"sample_group":[["1\n24 30","7\n\nThere are $7$ people, sitting at Seat $24,25,26,27,28,29$ and $30$."],["2\n6 8\n3 3","4"]],"created_at":"2026-03-03 11:01:13"}}