{"raw_statement":[{"iden":"statement","content":"While watching a basketball game, you wonder what your team's total free throw percentage is. You are given how many free throws each player on your team has made and attempted. Given these values, calculate your team's free throw percentage.\n\nThe first line of input consists of a positive integer $n$: the number of players on your team. The next $n$ lines consist of two space-separated integers: how many free throws each player has made and attempted, respectively.\n\nOutput a single decimal number, representing your team's free throw percentage during the game. *Round your answer to two decimal places.*\n\n"},{"iden":"input","content":"The first line of input consists of a positive integer $n$: the number of players on your team. The next $n$ lines consist of two space-separated integers: how many free throws each player has made and attempted, respectively."},{"iden":"output","content":"Output a single decimal number, representing your team's free throw percentage during the game. *Round your answer to two decimal places.*"}],"translated_statement":null,"sample_group":[],"show_order":[],"formal_statement":"**Definitions**  \nLet $ n \\in \\mathbb{Z}^+ $ be the number of players.  \nFor each player $ i \\in \\{1, \\dots, n\\} $, let $ m_i \\in \\mathbb{Z}_{\\geq 0} $ be the number of free throws made, and $ a_i \\in \\mathbb{Z}^+ $ be the number of free throws attempted.\n\n**Constraints**  \n1. $ n \\geq 1 $  \n2. $ 0 \\leq m_i \\leq a_i $ for all $ i \\in \\{1, \\dots, n\\} $\n\n**Objective**  \nCompute the team's free throw percentage:  \n$$\nP = \\frac{\\sum_{i=1}^{n} m_i}{\\sum_{i=1}^{n} a_i} \\times 100\n$$  \nRound $ P $ to two decimal places.","simple_statement":"Calculate the team's free throw percentage by dividing total made free throws by total attempted free throws, then round to two decimal places.","has_page_source":false}