{"raw_statement":[{"iden":"statement","content":"After the end of hair salon restrictions of quarantine, many clients come to get their hair cut. Naturally, after months of uncut hair, your client's hairdos can be quite long! Your clients all have a preference of how long their hair needs to be after it is cut, and you can measure how long their hair is once you start cutting their hair.\n\nYou must determine how much hair you have to cut in order to reach the specified length of hair the client requested.\n\nThe first line will contain an integer $n$ which denotes the amount of test cases that will follow. Each line succeeding this value will contain two space separated integers representing the length in hair (in inches), the first one being the length of hair your client has at the beginning of the haircut, and the second being the length of hair your client wishes to have at the end of the haircut.\n\nFor each test case, print the amount of hair you must cut in order to fit the client's requirements.\n\n"},{"iden":"input","content":"The first line will contain an integer $n$ which denotes the amount of test cases that will follow. Each line succeeding this value will contain two space separated integers representing the length in hair (in inches), the first one being the length of hair your client has at the beginning of the haircut, and the second being the length of hair your client wishes to have at the end of the haircut."},{"iden":"output","content":"For each test case, print the amount of hair you must cut in order to fit the client's requirements."}],"translated_statement":null,"sample_group":[],"show_order":[],"formal_statement":"**Definitions**  \nLet $ n \\in \\mathbb{Z} $ be the number of test cases.  \nFor each test case $ i \\in \\{1, \\dots, n\\} $, let $ s_i \\in \\mathbb{R}^+ $ be the initial hair length and $ t_i \\in \\mathbb{R}^+ $ be the target hair length.\n\n**Constraints**  \n1. $ 1 \\leq n \\leq \\text{some upper bound (implied by input)} $  \n2. For each $ i \\in \\{1, \\dots, n\\} $: $ s_i \\geq t_i \\geq 0 $\n\n**Objective**  \nFor each test case $ i $, compute the amount of hair to cut:  \n$$\nc_i = s_i - t_i\n$$","simple_statement":"For each client, subtract the desired hair length from the current hair length to find how much to cut.","has_page_source":false}