ewof commited on
Commit
b841514
1 Parent(s): 1fee148

\\\n to \n

Browse files
Files changed (2) hide show
  1. clean_format_dedupe.py +3 -3
  2. flan_data.jsonl +8 -8
clean_format_dedupe.py CHANGED
@@ -262,9 +262,9 @@ if __name__ == "__main__":
262
  vals = line.split("\t")
263
  new = {}
264
  if (not contains_unwanted_words(vals[0])) and (not contains_unwanted_words(vals[1])) and (not contains_unwanted_words(vals[2])): # tbh for flan u prolly dont need the whole unfiltering thing but i copy pasted this from the other shit so i will just leave it bc y not
265
- new["question"] = vals[0].replace("\\n","\n")
266
- new["answer"] = vals[1].replace("\\n","\n")
267
- new["chain_of_thought"] = vals[2].replace("\\n","\n")
268
  if(new_content.__contains__(new)):
269
  num_dupes+=1
270
  else:
 
262
  vals = line.split("\t")
263
  new = {}
264
  if (not contains_unwanted_words(vals[0])) and (not contains_unwanted_words(vals[1])) and (not contains_unwanted_words(vals[2])): # tbh for flan u prolly dont need the whole unfiltering thing but i copy pasted this from the other shit so i will just leave it bc y not
265
+ new["question"] = vals[0].replace("\\n","\n").replace("\\\n","\n")
266
+ new["answer"] = vals[1].replace("\\n","\n").replace("\\\n","\n")
267
+ new["chain_of_thought"] = vals[2].replace("\\n","\n").replace("\\\n","\n")
268
  if(new_content.__contains__(new)):
269
  num_dupes+=1
270
  else:
flan_data.jsonl CHANGED
@@ -21099,7 +21099,7 @@
21099
  {"question": "For every order, a certain mail-order company charges a shipping fee of $3 plus an additional $2 if the value of the order is over $50 but not over $100 or an additional $3 if the value of the order is over $100. How much greater are the total shipping fees for 2 orders of $75 each than the total shipping fee for 2 order of $150 ?\nOptions:\n(A) $1\n(B) $2\n(C) $3\n(D) $4\n(E) $5", "answer": "(B)", "chain_of_thought": "Total cost involved for each 75 $ shipment: 3+2 = 5 $. Thus, for two such orders = 10$\nTotal cost involved for a 150$ shipment: 3+3 = 6$. Thus, for two such orders = 12$\nThe difference = 2$.\n"}
21100
  {"question": "The sale price shirts listed for Rs.400 after successive discount is 10% and 5% is?\nOptions:\n(A) 280\n(B) 290\n(C) Rs.342\n(D) 250\n(E) 253", "answer": "(C)", "chain_of_thought": "400*(90/100)* (95/100) = 342\n"}
21101
  {"question": "A can do a piece of work in 10 days. He works at it for 4 days and then B finishes it in 9 days. In how many days can A and B together finish the work?\nOptions:\n(A) 6\n(B) 8\n(C) 12\n(D) 15\n(E) 20", "answer": "(A)", "chain_of_thought": "4/10+9/X = 1/x = 15\n1/10+1/15 = 1/6 = 6 days\n"}
21102
- {"question": "Two pipes can fill a tank in 20 and 24 minutes respectively and a waste pipe can empty 6 gallons per minute. All the three pipes working together can fill the tank in 15 minutes. The capacity of the tank is?\nOptions:\n(A) 60 gallons\n(B) 100 gallons\n(C) 240 gallons\n(D) 180 gallons\n(E) 130 gallons", "answer": "(C)", "chain_of_thought": "Work done by the waste pipe in 1 minute = 1/15 - (1/20 + 1/24) = - 1/40\nVolume of 1/40 part = 6 gallons\\\nVolume of whole = 6 * 40 = 240 gallons.\n"}
21103
  {"question": "The average of 13 numbers is 60. Average of the first 7 of them is 57 and that of the last 7 is 61. Find the 8th number?\nOptions:\n(A) 46\n(B) 82\n(C) 45\n(D) 43\n(E) 53", "answer": "(A)", "chain_of_thought": "Sum of all the 13 numbers = 13 * 60 = 780\nSum of the first 7 of them = 7 * 57 = 399\nSum of the last 7 of them = 7 * 61 = 427\nSo, the 8th number = 427 + 399 - 780 = 46.\n"}
21104
  {"question": "Find the smallest number which should be multiplied with 1152 to make it a perfect square.\nOptions:\n(A) 2\n(B) 1\n(C) 3\n(D) 5\n(E) 6", "answer": "(A)", "chain_of_thought": "1152 = 2*2*2*2*2*2*2*3*3\nRequired smallest number = 2\n2 is the smallest number which should be multiplied with 1152 to make it a perfect square.\n"}
21105
  {"question": "The average of 13 numbers is 60. Average of the first 6 of them is 57 and that of the last 8 is 61. Find the 8th number?\nOptions:\n(A) 46\n(B) 48\n(C) 50\n(D) 52\n(E) 54", "answer": "(C)", "chain_of_thought": "Sum of all the 13 numbers = 13 * 60 = 780\nSum of the first 6 of them = 6 * 57 = 342\nSum of the last 8 of them = 8 * 61 = 488\nSo, the 8th number = 342 + 488 - 780 = 50.\n"}
@@ -21108,7 +21108,7 @@
21108
  {"question": "A batsman makes a score of 87 runs in the 17th inning and thus increases his average by 3. Find his average after 17th inning?\nOptions:\n(A) 39\n(B) 88\n(C) 3\n(D) 7\n(E) 62", "answer": "(A)", "chain_of_thought": "Let the average after 7th inning = x\nThen average after 16th inning = x - 3\n\\inline \\fn_jvn \\therefore 16(x-3)+87 = 17x\n\\inline \\fn_jvn \\therefore x = 87 - 48 = 39\n"}
21109
  {"question": "A train 540 meters long is running with a speed of 54 kmph. The time taken by it to cross a tunnel 180 meters long is?\nOptions:\n(A) 287 sec\n(B) 288 sec\n(C) 48 sec\n(D) 16 sec\n(E) 17 sec", "answer": "(C)", "chain_of_thought": "D = 540 + 180 = 720\nS = 54 * 5/18 = 15 mps\nT = 720/15 = 48 se\n"}
21110
  {"question": "If six persons sit in a row, then the probability that three particular persons are always together is ?\nOptions:\n(A) 1/6\n(B) 1/0\n(C) 1/5\n(D) 1/4\n(E) 1/1", "answer": "(C)", "chain_of_thought": "Six persons can be arranged in a row in 6! ways. Treat the three persons to sit together as one unit then there four persons and they can be arranged in 4! ways. Again three persons can be arranged among them selves in 3! ways. Favourable outcomes = 3!4! Required probability = 3!4!/6! = 1/5\n"}
21111
- {"question": "Two pipes can fill a tank in 20 and 24 minutes respectively and a waste pipe can empty 1 gallons per minute. All the three pipes working together can fill the tank in 15 minutes. The capacity of the tank is?\nOptions:\n(A) 40 gallons\n(B) 100 gallons\n(C) 120 gallons\n(D) 180 gallons\n(E) 130 gallons", "answer": "(A)", "chain_of_thought": "Work done by the waste pipe in 1 minute = 1/15 - (1/20 + 1/24) = - 1/40\nVolume of 1/40 part = 1 gallons\\\nVolume of whole = 1 * 40 = 40 gallons.\n"}
21112
  {"question": "A goods train runs at the speed of 72 km/hr and crosses a 250 m long platform in 26 sec. What is the length of the goods train?\nOptions:\n(A) 49 sec\n(B) 50 sec\n(C) 48 second\n(D) 43 sec\n(E) 32 sec", "answer": "(C)", "chain_of_thought": "D = 540 + 180 = 720\nS = 54 * 5/18 = 15 mps\nT = 720/15 = 48 se\n"}
21113
  {"question": "Which of the following is a prime number ?\nOptions:\n(A) 27\n(B) 45\n(C) 97\n(D) 98\n(E) 100", "answer": "(C)", "chain_of_thought": "Clearly, 97 is a prime number.\n"}
21114
  {"question": "If 12x = 16y = 28z, then what is a possible sum of positive integers x, y, and z?\nOptions:\n(A) 52\n(B) 58\n(C) 122\n(D) 84\n(E) 168", "answer": "(C)", "chain_of_thought": "12x = 16y = 28z\n3x = 4y = 7z\n3(4*7) = 4(3*7) = 7(3*4)\nAddition = 28+21+12 = 61\nAnswer would be multiple of 61 which is 122\n"}
@@ -22155,7 +22155,7 @@
22155
  {"question": "Which of the following numbers is divisible by 4?\nOptions:\n(A) 27767\n(B) 10224\n(C) 26778\n(D) 26679\n(E) 26711", "answer": "(B)", "chain_of_thought": "10224. This is the only option with last two digits divisible by 4\n"}
22156
  {"question": "A no. when divided by the sum of 555 and 445 gives 2times their difference as quotient & 30 as remainder. Find the no. is?\nOptions:\n(A) 122456\n(B) 145778\n(C) 456678\n(D) 235467\n(E) 220030", "answer": "(E)", "chain_of_thought": "(555 + 445) * 2 * 110 + 30 = 220000 + 30 = 220030\n"}
22157
  {"question": "What is the are of an equilateral triangle of side 12 cm?\nOptions:\n(A) 64\u221a5\n(B) 64\u221a9\n(C) 64\u221a4\n(D) 36\u221a3\n(E) 64\u221a2", "answer": "(D)", "chain_of_thought": "Area of an equilateral triangle = \u221a3/4 S2\nIf S = 12, Area of triangle = \u221a3/4 * 12 * 12 = 36\u221a3 cm2;\n"}
22158
- {"question": "Two pipes can fill a tank in 20 and 24 minutes respectively and a waste pipe can empty 4 gallons per minute. All the three pipes working together can fill the tank in 15 minutes. The capacity of the tank is?\nOptions:\n(A) 60 gallons\n(B) 100 gallons\n(C) 120 gallons\n(D) 160 gallons\n(E) 130 gallons", "answer": "(D)", "chain_of_thought": "Work done by the waste pipe in 1 minute = 1/15 - (1/20 + 1/24) = - 1/40\nVolume of 1/40 part = 4 gallons\\\nVolume of whole = 4 * 40 = 160 gallons.\n"}
22159
  {"question": "The speed of a boat in still water is 70kmph and the speed of the current is 20kmph. Find the speed downstream and upstream?\nOptions:\n(A) 22 kmph\n(B) 40 kmph\n(C) 78 kmph\n(D) 50 kmph\n(E) 23 kmph", "answer": "(D)", "chain_of_thought": "Speed downstream = 70 + 20 = 90 kmph\nSpeed upstream = 70 - 20 = 50 kmph\n"}
22160
  {"question": "Steve traveled the first 5 hours of his journey at 40 mph and the last 3 hours of his journey at 80 mph. What is his average speed of travel for the entire journey?\nOptions:\n(A) 53.33 mph\n(B) 88 mph\n(C) 60 mph\n(D) 64 mph\n(E) 66.67 mph", "answer": "(B)", "chain_of_thought": "Average Speed = Total distance/ Total time = (40 * 5 + 80 * 3)/(5 + 3) = 440/5 = 88\n"}
22161
  {"question": "Four of the five parts numbered (a), (b), (c), (d) and (e) are exactly equal. Which of the parts is not equal to the other four? The number of that part is the answer.\nOptions:\n(A) (2x + 3y) 2\n(B) (2y \u2013 x) 2 + y(16x + 5y) \n(C) 4x(x + 2y) + y(4x + 9y) \n(D) (2x + 2y) 2 + y(4x + 5y) \n(E) (2x \u2013 y) 2 + 8y(2x + y) ", "answer": "(B)", "chain_of_thought": "Others are requal to 4x2 + 9y2 + 12xy.\n"}
@@ -22572,7 +22572,7 @@
22572
  {"question": "The speed of a boat in still water is 50kmph and the speed of the current is 20kmph. Find the speed and upstream?\nOptions:\n(A) 30 kmph\n(B) 40 kmph\n(C) 78 kmph\n(D) 15 kmph\n(E) 23 kmph", "answer": "(A)", "chain_of_thought": "Speed downstream = 50 + 20 = 70 kmph\nSpeed upstream = 50 - 20 = 30 kmph\n"}
22573
  {"question": "What number comes next in the following series? 4, 14, 44, 134, 404, ____\nOptions:\n(A) 1204\n(B) 1208\n(C) 1214\n(D) 1216\n(E) 1220", "answer": "(C)", "chain_of_thought": "4\n4 \u00d7 3 + 2 = 14\n14 \u00d7 3 + 2 = 44\n44 \u00d7 3 + 2 = 134\n134 \u00d7 3 + 2 = 404\n404 \u00d7 3 + 2 = 1214\n"}
22574
  {"question": "Grace has 18 jellybeans in her pocket. She has 9 red ones, 5 green ones, and 4 blue ones. What is the minimum number of jellybeans she must take out of her pocket to ensure that she has one of each color?\nOptions:\n(A) 4\n(B) 8\n(C) 12\n(D) 13\n(E) 15", "answer": "(E)", "chain_of_thought": "The worst scenario is when she takes 9 red and 5 green, total of 14 jellybeans, and still doesn't have 3 distinct colors. But the next draw (15th) will surely be the third color jellybean (blue) as there is no other color jellybeans left in pocket.\n"}
22575
- {"question": "Two pipes can fill a tank in 20 and 24 minutes respectively and a waste pipe can empty 3 gallons per minute. All the three pipes working together can fill the tank in 15 minutes. The capacity of the tank is?\nOptions:\n(A) 299\n(B) 2767\n(C) 120\n(D) 287\n(E) 261", "answer": "(C)", "chain_of_thought": "Work done by the waste pipe in 1 minute = 1/15 - (1/20 + 1/24) = - 1/40\nVolume of 1/40 part = 3 gallons\\\nVolume of whole = 3 * 40 = 120 gallons.\n"}
22576
  {"question": "How many factors does 25^2 have?\nOptions:\n(A) 2\n(B) 8\n(C) 24\n(D) 25\n(E) 26", "answer": "(B)", "chain_of_thought": "36^2 = 6*6*6*6 = 2^4*3^4\nTotal factors = (4+1)*(4+1) = 4*2 = 8\n"}
22577
  {"question": "Two persons A and B can complete a piece of work in 18 days and 24 days respectively. If they work together, what part of the work will be completed in 2 days?\nOptions:\n(A) 7/36\n(B) 9/35\n(C) 4/37\n(D) 8/35\n(E) 5/3", "answer": "(A)", "chain_of_thought": "A's one day's work = 1/18\nB's one day's work = 1/24\n(A + B)'s one day's work = 1/18 + 1/24 = 7/72\nThe part of the work completed in 3 days = 2 (7/72) = 7/36.\n"}
22578
  {"question": "A can do a piece of work in 16 days. When he had worked for 2 days B joins him. If the complete work was finished in 8 days. In how many days B alone can finish the work?\nOptions:\n(A) 18\n(B) 77\n(C) 66\n(D) 55\n(E) 12", "answer": "(E)", "chain_of_thought": "8/16 + 6/x = 1\nX = 12 days\n"}
@@ -22686,7 +22686,7 @@
22686
  {"question": "The average of seven numbers is 21. The average of first three numbers is 19 and the average of last three numbers is 23. What is the middle number?\nOptions:\n(A) 20\n(B) 22\n(C) 18\n(D) 19\n(E) 21", "answer": "(E)", "chain_of_thought": "The total of seven numbers = 7X21 = 147\nThe total of first 3 and last 3 numbers is = 3 X 19+3 X 23 = 126\nSo, the middle number is (147 - 126 ) = 21\n"}
22687
  {"question": "There are four prime numbers written in ascending order of magnitude. The product of the first three is 385 and of the last three is 1001. Find the fourth number?\nOptions:\n(A) 5\n(B) 7\n(C) 11\n(D) 13\n(E) 15", "answer": "(A)", "chain_of_thought": "(385/1001) = 5/13 First Number is 5\n"}
22688
  {"question": "Look at this series: F2, __, D8, C16, B32, ... What number should fill the blank?\nOptions:\n(A) A16\n(B) G4\n(C) E4\n(D) E3\n(E) F2", "answer": "(C)", "chain_of_thought": "Answer: Option C\nThe letters decrease by 1; the numbers are multiplied by 2.\n"}
22689
- {"question": "Two pipes can fill a tank in 20 and 24 minutes respectively and a waste pipe can empty 3 gallons per minute. All the three pipes working together can fill the tank in 15 minutes. The capacity of the tank is?\nOptions:\n(A) 820 gallons\n(B) 128 gallons\n(C) 120 gallons\n(D) 129 gallons\n(E) 220 gallons", "answer": "(C)", "chain_of_thought": "Work done by the waste pipe in 1 minute = 1/15 - (1/20 + 1/24) = - 1/40\nVolume of 1/40 part = 3 gallons\\\nVolume of whole = 3 * 40 = 120 gallons.\n"}
22690
  {"question": "In what time a sum of money double itself at 6% per annum simple interest?\nOptions:\n(A) 33 1/8%\n(B) 33 1/3%\n(C) 83 1/3%\n(D) 33 4/3%\n(E) 16 2/3%", "answer": "(E)", "chain_of_thought": "P = (P*6*R)/100\nR = 16 2/3%\n"}
22691
  {"question": "The speed of a boat in upstream is 60 kmph and the speed of the boat downstream is 100 kmph. Find the speed of the boat in still water and the speed of the stream?\nOptions:\n(A) 70, 10 kmph\n(B) 35, 27 kmph\n(C) 50, 60 kmph\n(D) 80, 20 kmph\n(E) 45, 65 kmph", "answer": "(D)", "chain_of_thought": "Speed of the boat in still water = (60+100)/2 = 80 kmph. Speed of the stream = (100-60)/2 = 20 kmph\n"}
22692
  {"question": "Find the value of y from (12)^3 x 6^4 \u00f7 432 = y?\nOptions:\n(A) 2560\n(B) 3400\n(C) 3690\n(D) 4500\n(E) 5184", "answer": "(E)", "chain_of_thought": "Given Exp. = (12)3 x 64 = (12)3 x 64 = (12)2 x 62 = (72)2 = 5184\n432 12 x 62\n"}
@@ -22756,7 +22756,7 @@
22756
  {"question": "The average age of a class of 32 students is 16 yrs. if the teacher's age is also included, the average increases by one year. Find the age of the teacher\nOptions:\n(A) 49 Years\n(B) 51 Years\n(C) 53 Years\n(D) 54 Years\n(E) 55 Years", "answer": "(A)", "chain_of_thought": "Total age of students is 32X16 = 512 Years\nTotal age inclusive of teacher = 33X (16+1) = 561\nSo, Teacher's age is 561-512 = 49 Yrs\nThere is a shortcut for these type of problems\nTeacher's age is 16+(33X1) = 49 Years\n"}
22757
  {"question": "How much is 80% of 40 is greater than 4/5 of 20?\nOptions:\n(A) 12\n(B) 27\n(C) 18\n(D) 16\n(E) 81", "answer": "(D)", "chain_of_thought": "(80/100) * 40 \u00e2\u20ac\u201c (4/5) * 20\n32 - 16 = 16\n"}
22758
  {"question": "Three pipes A, B and C can fill a tank from empty to full in 30 minutes, 20 minutes and 10 minutes respectively. When the tank is empty, all the three pipes are opened. A, B and C discharge chemical solutions P, Q and R respectively. What is the proportion of solution R in the liquid in the tank after 3 minutes?\nOptions:\n(A) 6/18\n(B) 6/11\n(C) 6/68\n(D) 6/19\n(E) 6/12", "answer": "(B)", "chain_of_thought": "Part filled by (A + B + C) in 3 minutes = 3(1/30 + 1/20 + 1/10) = 11/20\nPart filled by C in 3 minutes = 3/10\nRequired ratio = 3/10 * 20/11 = 6/11\n"}
22759
- {"question": "Two pipes can fill a tank in 20 and 24 minutes respectively and a waste pipe can empty 3 gallons per minute. All the three pipes working together can fill the tank in 15 minutes. The capacity of the tank is?\nOptions:\n(A) 60 gallons\n(B) 100 gallons\n(C) 120 gallons\n(D) 180 gallons\n(E) 130 gallons", "answer": "(C)", "chain_of_thought": "Work done by the waste pipe in 1 minute = 1/15 - (1/20 + 1/24) = - 1/40\nVolume of 1/40 part = 3 gallons\\\nVolume of whole = 3 * 40 = 120 gallons.\n"}
22760
  {"question": "Which of the following is not divisible by 8?\nOptions:\n(A) 10032\n(B) 21192\n(C) 47816\n(D) 91232\n(E) 72034", "answer": "(E)", "chain_of_thought": "Divisibility rule of 8: Last three digits of the number should be divisible by 8\nOption A: 10032, last three digits = 032. Divisible by 8\nOption B: 21192, last three digits = 192. Divisible by 8\nOption C: 47816, last three digits = 816. Divisible by 8\nOption D: 91232, last three digits = 232. Divisible by 8\nOption E: 72034, last three digits = 034. Not divisible by 8. Hence 72034 is not divisible by 8\n"}
22761
  {"question": "A train running at the speed of 142 km/hr crosses a pole in 12 seconds. Find the length of the train.\nOptions:\n(A) 540\n(B) 288\n(C) 200\n(D) 340\n(E) 712", "answer": "(A)", "chain_of_thought": "Speed = 162*(5/18) m/sec = 45m/sec\nLength of Train (Distance) = Speed * Time\n45 * 12 = 540 meter\n"}
22762
  {"question": "A train 540 meters long is running with a speed of 54 kmph. The time taken by it to cross a tunnel 180 meters long is?\nOptions:\n(A) 29\n(B) 18\n(C) 48\n(D) 99\n(E) 11", "answer": "(C)", "chain_of_thought": "D = 540 + 180 = 720\nS = 54 * 5/18 = 15 mps\nT = 720/15 = 48 se\n"}
@@ -22933,7 +22933,7 @@
22933
  {"question": "3 candidates in an election and received 1136, 7636 and 11628 votes respectively. What % of the total votes did the winningcandidate got in that election?\nOptions:\n(A) 45%\n(B) 50%\n(C) 57%\n(D) 59%\n(E) 62", "answer": "(C)", "chain_of_thought": "Total number of votes polled = (1136 + 7636 + 11628) = 20400\nSo, Required percentage = 11628/20400 * 100 = 57%\n"}
22934
  {"question": "The average age of P, Q, R, S five years ago was 45 years. By including T, the present average age of all the five is 49 years. The present age of T is?\nOptions:\n(A) 64 years\n(B) 48 years\n(C) 45 years\n(D) 40 years\n(E) None of these", "answer": "(C)", "chain_of_thought": "Present age of P, Q, R, S = 45 x 4 + 20 = 200\nPresent age of P, Q, R, S and T = 49 x 5 = 245\nHence, the age of T = 245 - 200 = 45 years.\n"}
22935
  {"question": "In what time a sum of money double itself at 3% per annum simple interest?\nOptions:\n(A) 33 1/8%\n(B) 33 1/3%\n(C) 33 3/3%\n(D) 33 1/7%\n(E) 32 1/3%", "answer": "(B)", "chain_of_thought": "P = (P*3*R)/100\nR = 33 1/3%\n"}
22936
- {"question": "Two pipes can fill a tank in 20 and 24 minutes respectively and a waste pipe can empty 5 gallons per minute. All the three pipes working together can fill the tank in 15 minutes. The capacity of the tank is?\nOptions:\n(A) 60 gallons\n(B) 200 gallons\n(C) 120 gallons\n(D) 180 gallons\n(E) 130 gallons", "answer": "(B)", "chain_of_thought": "Work done by the waste pipe in 1 minute = 1/15 - (1/20 + 1/24) = - 1/40\nVolume of 1/40 part = 5 gallons\\\nVolume of whole = 5 * 40 = 200 gallons.\n"}
22937
  {"question": "A can do a job in 18 days and B can do it in 24 days. A and B working together will finish twice the amount of work in days?\nOptions:\n(A) 22 1/6\n(B) 22 1/2\n(C) 20 4/7\n(D) 22 1/9\n(E) 22 1/1", "answer": "(C)", "chain_of_thought": "1/18 + 1/24 = 7/72\n72/7 = 72/7 *2 = 20 4/7 days\n"}
22938
  {"question": "A family with 1 mother, 1 father, and 4 children sit in a car with 2 front seats and 3 back seats. If the mother drives with a child in the front, and the father sits in the back center seat with the other two children on either side of him, how many seating arrangements are possible?\nOptions:\n(A) 3\n(B) 4\n(C) 6\n(D) 8\n(E) 24", "answer": "(E)", "chain_of_thought": "Mother has a fixed place and father, so there are 4! ways to arrange the children, hence\n"}
22939
  {"question": "A man goes into a barbershop and gets a $15 haircut. He pays the barber with a $20 bill, but the barber doesn't have change because it is an especially slow day. The barber goes to the flower shop next to his own and trades the $20 bill for a $10 dollar bill and two $5 bills. Then he gives the man his $5 in change.\nLater the lady from the flower shop confronts the barber and tells him that the $20 bill he gave her was counterfeit. The barber agrees and he gives the lady a different $20 bill.\nLater that day he tries to figure out how much money he lost. What did he lose?\nOptions:\n(A) $5\n(B) $10\n(C) $12\n(D) $15\n(E) $20", "answer": "(A)", "chain_of_thought": "He lost $5. The lady from the flower shop gave him $20 in change, but eventually got $20 back. She broke even. The man who got the haircut gave the barber nothing (except counterfeit money) but got $5 back from the barber. So the barber lost only $5, and gave a free haircut.\n"}
@@ -23426,7 +23426,7 @@
23426
  {"question": "A train which has 390 m long, is running 45 kmph. In what time will it cross a person moving at 9 kmph in same direction ?\nOptions:\n(A) 26 sec\n(B) 39 sec\n(C) 36 sec\n(D) 29 sec\n(E) 30 sec", "answer": "(B)", "chain_of_thought": "Time taken to cross a moving person = length of train/ relative speed\nTime taken = 390/((45-9) (5/18) = 390/ 36*(5/18) = 390/10 = 39 sec\n"}
23427
  {"question": "100 is increased by 50%. Find the final number.\nOptions:\n(A) 100\n(B) 110\n(C) 150\n(D) 155\n(E) 160", "answer": "(C)", "chain_of_thought": "Final number = Initial number + 50%(original number) = 100 + 50%(100) = 100 + 50 = 150.\n"}
23428
  {"question": "How much is 80% of 40 is greater than 4/5 of 25?\nOptions:\n(A) 22\n(B) 77\n(C) 15\n(D) 12\n(E) 88", "answer": "(D)", "chain_of_thought": "(80/100) * 40 \u2013 (4/5) * 25\n32 - 20 = 12\n"}
23429
- {"question": "Two pipes can fill a tank in 20 and 24 minutes respectively and a waste pipe can empty 3 gallons per minute. All the three pipes working together can fill the tank in 15 minutes. The capacity of the tank is?\nOptions:\n(A) 120 gallons\n(B) 200 gallons\n(C) 170 gallons\n(D) 180 gallons\n(E) 250 gallons", "answer": "(A)", "chain_of_thought": "Work done by the waste pipe in 1 minute = 1/15 - (1/20 + 1/24) = - 1/40\nVolume of 1/40 part = 3 gallons\\\nVolume of whole = 3 * 40 = 120 gallons.\n"}
23430
  {"question": "When tossed, a certain coin has equal probability of landing on either side. If the coin is tossed 4 times, what is the probability that it will land twice on heads and twice tails?\nOptions:\n(A) 1/8\n(B) 1/4\n(C) 1/16\n(D) 1/32\n(E) 1/2", "answer": "(C)", "chain_of_thought": "Must be twice on heads and twice on tails\n1/2*1/2*1/2*1/2 = 1/16\n"}
23431
  {"question": "Find the C.I. on a sum of Rs.1600 for 9 months at 20% per annum, interest being compounded quarterly?\nOptions:\n(A) 3388\n(B) 2778\n(C) 2522\n(D) 2988\n(E) 2771", "answer": "(C)", "chain_of_thought": "A = 1600(21/20)3 = 2522\n"}
23432
  {"question": "A and B can do a work in 12 days, B and C in 30 days and C and A in 36 days. In how many days will the work be completed, if all three of them work together?\nOptions:\n(A) 180/15\n(B) 180/10\n(C) 180/13\n(D) 180/15\n(E) 180/11", "answer": "(C)", "chain_of_thought": "One day work of A and B = 1/12\nOne day work of B and C = 1/30\nOne day work of C and A = 1/36\n2(A + B + C) = 1/12 + 1/30 + 1/36\n2(A + B + C) = 13/90\n(A + B + C) = 13/180\nNumber of days required = 180/13 days.\n"}
 
21099
  {"question": "For every order, a certain mail-order company charges a shipping fee of $3 plus an additional $2 if the value of the order is over $50 but not over $100 or an additional $3 if the value of the order is over $100. How much greater are the total shipping fees for 2 orders of $75 each than the total shipping fee for 2 order of $150 ?\nOptions:\n(A) $1\n(B) $2\n(C) $3\n(D) $4\n(E) $5", "answer": "(B)", "chain_of_thought": "Total cost involved for each 75 $ shipment: 3+2 = 5 $. Thus, for two such orders = 10$\nTotal cost involved for a 150$ shipment: 3+3 = 6$. Thus, for two such orders = 12$\nThe difference = 2$.\n"}
21100
  {"question": "The sale price shirts listed for Rs.400 after successive discount is 10% and 5% is?\nOptions:\n(A) 280\n(B) 290\n(C) Rs.342\n(D) 250\n(E) 253", "answer": "(C)", "chain_of_thought": "400*(90/100)* (95/100) = 342\n"}
21101
  {"question": "A can do a piece of work in 10 days. He works at it for 4 days and then B finishes it in 9 days. In how many days can A and B together finish the work?\nOptions:\n(A) 6\n(B) 8\n(C) 12\n(D) 15\n(E) 20", "answer": "(A)", "chain_of_thought": "4/10+9/X = 1/x = 15\n1/10+1/15 = 1/6 = 6 days\n"}
21102
+ {"question": "Two pipes can fill a tank in 20 and 24 minutes respectively and a waste pipe can empty 6 gallons per minute. All the three pipes working together can fill the tank in 15 minutes. The capacity of the tank is?\nOptions:\n(A) 60 gallons\n(B) 100 gallons\n(C) 240 gallons\n(D) 180 gallons\n(E) 130 gallons", "answer": "(C)", "chain_of_thought": "Work done by the waste pipe in 1 minute = 1/15 - (1/20 + 1/24) = - 1/40\nVolume of 1/40 part = 6 gallons\nVolume of whole = 6 * 40 = 240 gallons.\n"}
21103
  {"question": "The average of 13 numbers is 60. Average of the first 7 of them is 57 and that of the last 7 is 61. Find the 8th number?\nOptions:\n(A) 46\n(B) 82\n(C) 45\n(D) 43\n(E) 53", "answer": "(A)", "chain_of_thought": "Sum of all the 13 numbers = 13 * 60 = 780\nSum of the first 7 of them = 7 * 57 = 399\nSum of the last 7 of them = 7 * 61 = 427\nSo, the 8th number = 427 + 399 - 780 = 46.\n"}
21104
  {"question": "Find the smallest number which should be multiplied with 1152 to make it a perfect square.\nOptions:\n(A) 2\n(B) 1\n(C) 3\n(D) 5\n(E) 6", "answer": "(A)", "chain_of_thought": "1152 = 2*2*2*2*2*2*2*3*3\nRequired smallest number = 2\n2 is the smallest number which should be multiplied with 1152 to make it a perfect square.\n"}
21105
  {"question": "The average of 13 numbers is 60. Average of the first 6 of them is 57 and that of the last 8 is 61. Find the 8th number?\nOptions:\n(A) 46\n(B) 48\n(C) 50\n(D) 52\n(E) 54", "answer": "(C)", "chain_of_thought": "Sum of all the 13 numbers = 13 * 60 = 780\nSum of the first 6 of them = 6 * 57 = 342\nSum of the last 8 of them = 8 * 61 = 488\nSo, the 8th number = 342 + 488 - 780 = 50.\n"}
 
21108
  {"question": "A batsman makes a score of 87 runs in the 17th inning and thus increases his average by 3. Find his average after 17th inning?\nOptions:\n(A) 39\n(B) 88\n(C) 3\n(D) 7\n(E) 62", "answer": "(A)", "chain_of_thought": "Let the average after 7th inning = x\nThen average after 16th inning = x - 3\n\\inline \\fn_jvn \\therefore 16(x-3)+87 = 17x\n\\inline \\fn_jvn \\therefore x = 87 - 48 = 39\n"}
21109
  {"question": "A train 540 meters long is running with a speed of 54 kmph. The time taken by it to cross a tunnel 180 meters long is?\nOptions:\n(A) 287 sec\n(B) 288 sec\n(C) 48 sec\n(D) 16 sec\n(E) 17 sec", "answer": "(C)", "chain_of_thought": "D = 540 + 180 = 720\nS = 54 * 5/18 = 15 mps\nT = 720/15 = 48 se\n"}
21110
  {"question": "If six persons sit in a row, then the probability that three particular persons are always together is ?\nOptions:\n(A) 1/6\n(B) 1/0\n(C) 1/5\n(D) 1/4\n(E) 1/1", "answer": "(C)", "chain_of_thought": "Six persons can be arranged in a row in 6! ways. Treat the three persons to sit together as one unit then there four persons and they can be arranged in 4! ways. Again three persons can be arranged among them selves in 3! ways. Favourable outcomes = 3!4! Required probability = 3!4!/6! = 1/5\n"}
21111
+ {"question": "Two pipes can fill a tank in 20 and 24 minutes respectively and a waste pipe can empty 1 gallons per minute. All the three pipes working together can fill the tank in 15 minutes. The capacity of the tank is?\nOptions:\n(A) 40 gallons\n(B) 100 gallons\n(C) 120 gallons\n(D) 180 gallons\n(E) 130 gallons", "answer": "(A)", "chain_of_thought": "Work done by the waste pipe in 1 minute = 1/15 - (1/20 + 1/24) = - 1/40\nVolume of 1/40 part = 1 gallons\nVolume of whole = 1 * 40 = 40 gallons.\n"}
21112
  {"question": "A goods train runs at the speed of 72 km/hr and crosses a 250 m long platform in 26 sec. What is the length of the goods train?\nOptions:\n(A) 49 sec\n(B) 50 sec\n(C) 48 second\n(D) 43 sec\n(E) 32 sec", "answer": "(C)", "chain_of_thought": "D = 540 + 180 = 720\nS = 54 * 5/18 = 15 mps\nT = 720/15 = 48 se\n"}
21113
  {"question": "Which of the following is a prime number ?\nOptions:\n(A) 27\n(B) 45\n(C) 97\n(D) 98\n(E) 100", "answer": "(C)", "chain_of_thought": "Clearly, 97 is a prime number.\n"}
21114
  {"question": "If 12x = 16y = 28z, then what is a possible sum of positive integers x, y, and z?\nOptions:\n(A) 52\n(B) 58\n(C) 122\n(D) 84\n(E) 168", "answer": "(C)", "chain_of_thought": "12x = 16y = 28z\n3x = 4y = 7z\n3(4*7) = 4(3*7) = 7(3*4)\nAddition = 28+21+12 = 61\nAnswer would be multiple of 61 which is 122\n"}
 
22155
  {"question": "Which of the following numbers is divisible by 4?\nOptions:\n(A) 27767\n(B) 10224\n(C) 26778\n(D) 26679\n(E) 26711", "answer": "(B)", "chain_of_thought": "10224. This is the only option with last two digits divisible by 4\n"}
22156
  {"question": "A no. when divided by the sum of 555 and 445 gives 2times their difference as quotient & 30 as remainder. Find the no. is?\nOptions:\n(A) 122456\n(B) 145778\n(C) 456678\n(D) 235467\n(E) 220030", "answer": "(E)", "chain_of_thought": "(555 + 445) * 2 * 110 + 30 = 220000 + 30 = 220030\n"}
22157
  {"question": "What is the are of an equilateral triangle of side 12 cm?\nOptions:\n(A) 64\u221a5\n(B) 64\u221a9\n(C) 64\u221a4\n(D) 36\u221a3\n(E) 64\u221a2", "answer": "(D)", "chain_of_thought": "Area of an equilateral triangle = \u221a3/4 S2\nIf S = 12, Area of triangle = \u221a3/4 * 12 * 12 = 36\u221a3 cm2;\n"}
22158
+ {"question": "Two pipes can fill a tank in 20 and 24 minutes respectively and a waste pipe can empty 4 gallons per minute. All the three pipes working together can fill the tank in 15 minutes. The capacity of the tank is?\nOptions:\n(A) 60 gallons\n(B) 100 gallons\n(C) 120 gallons\n(D) 160 gallons\n(E) 130 gallons", "answer": "(D)", "chain_of_thought": "Work done by the waste pipe in 1 minute = 1/15 - (1/20 + 1/24) = - 1/40\nVolume of 1/40 part = 4 gallons\nVolume of whole = 4 * 40 = 160 gallons.\n"}
22159
  {"question": "The speed of a boat in still water is 70kmph and the speed of the current is 20kmph. Find the speed downstream and upstream?\nOptions:\n(A) 22 kmph\n(B) 40 kmph\n(C) 78 kmph\n(D) 50 kmph\n(E) 23 kmph", "answer": "(D)", "chain_of_thought": "Speed downstream = 70 + 20 = 90 kmph\nSpeed upstream = 70 - 20 = 50 kmph\n"}
22160
  {"question": "Steve traveled the first 5 hours of his journey at 40 mph and the last 3 hours of his journey at 80 mph. What is his average speed of travel for the entire journey?\nOptions:\n(A) 53.33 mph\n(B) 88 mph\n(C) 60 mph\n(D) 64 mph\n(E) 66.67 mph", "answer": "(B)", "chain_of_thought": "Average Speed = Total distance/ Total time = (40 * 5 + 80 * 3)/(5 + 3) = 440/5 = 88\n"}
22161
  {"question": "Four of the five parts numbered (a), (b), (c), (d) and (e) are exactly equal. Which of the parts is not equal to the other four? The number of that part is the answer.\nOptions:\n(A) (2x + 3y) 2\n(B) (2y \u2013 x) 2 + y(16x + 5y) \n(C) 4x(x + 2y) + y(4x + 9y) \n(D) (2x + 2y) 2 + y(4x + 5y) \n(E) (2x \u2013 y) 2 + 8y(2x + y) ", "answer": "(B)", "chain_of_thought": "Others are requal to 4x2 + 9y2 + 12xy.\n"}
 
22572
  {"question": "The speed of a boat in still water is 50kmph and the speed of the current is 20kmph. Find the speed and upstream?\nOptions:\n(A) 30 kmph\n(B) 40 kmph\n(C) 78 kmph\n(D) 15 kmph\n(E) 23 kmph", "answer": "(A)", "chain_of_thought": "Speed downstream = 50 + 20 = 70 kmph\nSpeed upstream = 50 - 20 = 30 kmph\n"}
22573
  {"question": "What number comes next in the following series? 4, 14, 44, 134, 404, ____\nOptions:\n(A) 1204\n(B) 1208\n(C) 1214\n(D) 1216\n(E) 1220", "answer": "(C)", "chain_of_thought": "4\n4 \u00d7 3 + 2 = 14\n14 \u00d7 3 + 2 = 44\n44 \u00d7 3 + 2 = 134\n134 \u00d7 3 + 2 = 404\n404 \u00d7 3 + 2 = 1214\n"}
22574
  {"question": "Grace has 18 jellybeans in her pocket. She has 9 red ones, 5 green ones, and 4 blue ones. What is the minimum number of jellybeans she must take out of her pocket to ensure that she has one of each color?\nOptions:\n(A) 4\n(B) 8\n(C) 12\n(D) 13\n(E) 15", "answer": "(E)", "chain_of_thought": "The worst scenario is when she takes 9 red and 5 green, total of 14 jellybeans, and still doesn't have 3 distinct colors. But the next draw (15th) will surely be the third color jellybean (blue) as there is no other color jellybeans left in pocket.\n"}
22575
+ {"question": "Two pipes can fill a tank in 20 and 24 minutes respectively and a waste pipe can empty 3 gallons per minute. All the three pipes working together can fill the tank in 15 minutes. The capacity of the tank is?\nOptions:\n(A) 299\n(B) 2767\n(C) 120\n(D) 287\n(E) 261", "answer": "(C)", "chain_of_thought": "Work done by the waste pipe in 1 minute = 1/15 - (1/20 + 1/24) = - 1/40\nVolume of 1/40 part = 3 gallons\nVolume of whole = 3 * 40 = 120 gallons.\n"}
22576
  {"question": "How many factors does 25^2 have?\nOptions:\n(A) 2\n(B) 8\n(C) 24\n(D) 25\n(E) 26", "answer": "(B)", "chain_of_thought": "36^2 = 6*6*6*6 = 2^4*3^4\nTotal factors = (4+1)*(4+1) = 4*2 = 8\n"}
22577
  {"question": "Two persons A and B can complete a piece of work in 18 days and 24 days respectively. If they work together, what part of the work will be completed in 2 days?\nOptions:\n(A) 7/36\n(B) 9/35\n(C) 4/37\n(D) 8/35\n(E) 5/3", "answer": "(A)", "chain_of_thought": "A's one day's work = 1/18\nB's one day's work = 1/24\n(A + B)'s one day's work = 1/18 + 1/24 = 7/72\nThe part of the work completed in 3 days = 2 (7/72) = 7/36.\n"}
22578
  {"question": "A can do a piece of work in 16 days. When he had worked for 2 days B joins him. If the complete work was finished in 8 days. In how many days B alone can finish the work?\nOptions:\n(A) 18\n(B) 77\n(C) 66\n(D) 55\n(E) 12", "answer": "(E)", "chain_of_thought": "8/16 + 6/x = 1\nX = 12 days\n"}
 
22686
  {"question": "The average of seven numbers is 21. The average of first three numbers is 19 and the average of last three numbers is 23. What is the middle number?\nOptions:\n(A) 20\n(B) 22\n(C) 18\n(D) 19\n(E) 21", "answer": "(E)", "chain_of_thought": "The total of seven numbers = 7X21 = 147\nThe total of first 3 and last 3 numbers is = 3 X 19+3 X 23 = 126\nSo, the middle number is (147 - 126 ) = 21\n"}
22687
  {"question": "There are four prime numbers written in ascending order of magnitude. The product of the first three is 385 and of the last three is 1001. Find the fourth number?\nOptions:\n(A) 5\n(B) 7\n(C) 11\n(D) 13\n(E) 15", "answer": "(A)", "chain_of_thought": "(385/1001) = 5/13 First Number is 5\n"}
22688
  {"question": "Look at this series: F2, __, D8, C16, B32, ... What number should fill the blank?\nOptions:\n(A) A16\n(B) G4\n(C) E4\n(D) E3\n(E) F2", "answer": "(C)", "chain_of_thought": "Answer: Option C\nThe letters decrease by 1; the numbers are multiplied by 2.\n"}
22689
+ {"question": "Two pipes can fill a tank in 20 and 24 minutes respectively and a waste pipe can empty 3 gallons per minute. All the three pipes working together can fill the tank in 15 minutes. The capacity of the tank is?\nOptions:\n(A) 820 gallons\n(B) 128 gallons\n(C) 120 gallons\n(D) 129 gallons\n(E) 220 gallons", "answer": "(C)", "chain_of_thought": "Work done by the waste pipe in 1 minute = 1/15 - (1/20 + 1/24) = - 1/40\nVolume of 1/40 part = 3 gallons\nVolume of whole = 3 * 40 = 120 gallons.\n"}
22690
  {"question": "In what time a sum of money double itself at 6% per annum simple interest?\nOptions:\n(A) 33 1/8%\n(B) 33 1/3%\n(C) 83 1/3%\n(D) 33 4/3%\n(E) 16 2/3%", "answer": "(E)", "chain_of_thought": "P = (P*6*R)/100\nR = 16 2/3%\n"}
22691
  {"question": "The speed of a boat in upstream is 60 kmph and the speed of the boat downstream is 100 kmph. Find the speed of the boat in still water and the speed of the stream?\nOptions:\n(A) 70, 10 kmph\n(B) 35, 27 kmph\n(C) 50, 60 kmph\n(D) 80, 20 kmph\n(E) 45, 65 kmph", "answer": "(D)", "chain_of_thought": "Speed of the boat in still water = (60+100)/2 = 80 kmph. Speed of the stream = (100-60)/2 = 20 kmph\n"}
22692
  {"question": "Find the value of y from (12)^3 x 6^4 \u00f7 432 = y?\nOptions:\n(A) 2560\n(B) 3400\n(C) 3690\n(D) 4500\n(E) 5184", "answer": "(E)", "chain_of_thought": "Given Exp. = (12)3 x 64 = (12)3 x 64 = (12)2 x 62 = (72)2 = 5184\n432 12 x 62\n"}
 
22756
  {"question": "The average age of a class of 32 students is 16 yrs. if the teacher's age is also included, the average increases by one year. Find the age of the teacher\nOptions:\n(A) 49 Years\n(B) 51 Years\n(C) 53 Years\n(D) 54 Years\n(E) 55 Years", "answer": "(A)", "chain_of_thought": "Total age of students is 32X16 = 512 Years\nTotal age inclusive of teacher = 33X (16+1) = 561\nSo, Teacher's age is 561-512 = 49 Yrs\nThere is a shortcut for these type of problems\nTeacher's age is 16+(33X1) = 49 Years\n"}
22757
  {"question": "How much is 80% of 40 is greater than 4/5 of 20?\nOptions:\n(A) 12\n(B) 27\n(C) 18\n(D) 16\n(E) 81", "answer": "(D)", "chain_of_thought": "(80/100) * 40 \u00e2\u20ac\u201c (4/5) * 20\n32 - 16 = 16\n"}
22758
  {"question": "Three pipes A, B and C can fill a tank from empty to full in 30 minutes, 20 minutes and 10 minutes respectively. When the tank is empty, all the three pipes are opened. A, B and C discharge chemical solutions P, Q and R respectively. What is the proportion of solution R in the liquid in the tank after 3 minutes?\nOptions:\n(A) 6/18\n(B) 6/11\n(C) 6/68\n(D) 6/19\n(E) 6/12", "answer": "(B)", "chain_of_thought": "Part filled by (A + B + C) in 3 minutes = 3(1/30 + 1/20 + 1/10) = 11/20\nPart filled by C in 3 minutes = 3/10\nRequired ratio = 3/10 * 20/11 = 6/11\n"}
22759
+ {"question": "Two pipes can fill a tank in 20 and 24 minutes respectively and a waste pipe can empty 3 gallons per minute. All the three pipes working together can fill the tank in 15 minutes. The capacity of the tank is?\nOptions:\n(A) 60 gallons\n(B) 100 gallons\n(C) 120 gallons\n(D) 180 gallons\n(E) 130 gallons", "answer": "(C)", "chain_of_thought": "Work done by the waste pipe in 1 minute = 1/15 - (1/20 + 1/24) = - 1/40\nVolume of 1/40 part = 3 gallons\nVolume of whole = 3 * 40 = 120 gallons.\n"}
22760
  {"question": "Which of the following is not divisible by 8?\nOptions:\n(A) 10032\n(B) 21192\n(C) 47816\n(D) 91232\n(E) 72034", "answer": "(E)", "chain_of_thought": "Divisibility rule of 8: Last three digits of the number should be divisible by 8\nOption A: 10032, last three digits = 032. Divisible by 8\nOption B: 21192, last three digits = 192. Divisible by 8\nOption C: 47816, last three digits = 816. Divisible by 8\nOption D: 91232, last three digits = 232. Divisible by 8\nOption E: 72034, last three digits = 034. Not divisible by 8. Hence 72034 is not divisible by 8\n"}
22761
  {"question": "A train running at the speed of 142 km/hr crosses a pole in 12 seconds. Find the length of the train.\nOptions:\n(A) 540\n(B) 288\n(C) 200\n(D) 340\n(E) 712", "answer": "(A)", "chain_of_thought": "Speed = 162*(5/18) m/sec = 45m/sec\nLength of Train (Distance) = Speed * Time\n45 * 12 = 540 meter\n"}
22762
  {"question": "A train 540 meters long is running with a speed of 54 kmph. The time taken by it to cross a tunnel 180 meters long is?\nOptions:\n(A) 29\n(B) 18\n(C) 48\n(D) 99\n(E) 11", "answer": "(C)", "chain_of_thought": "D = 540 + 180 = 720\nS = 54 * 5/18 = 15 mps\nT = 720/15 = 48 se\n"}
 
22933
  {"question": "3 candidates in an election and received 1136, 7636 and 11628 votes respectively. What % of the total votes did the winningcandidate got in that election?\nOptions:\n(A) 45%\n(B) 50%\n(C) 57%\n(D) 59%\n(E) 62", "answer": "(C)", "chain_of_thought": "Total number of votes polled = (1136 + 7636 + 11628) = 20400\nSo, Required percentage = 11628/20400 * 100 = 57%\n"}
22934
  {"question": "The average age of P, Q, R, S five years ago was 45 years. By including T, the present average age of all the five is 49 years. The present age of T is?\nOptions:\n(A) 64 years\n(B) 48 years\n(C) 45 years\n(D) 40 years\n(E) None of these", "answer": "(C)", "chain_of_thought": "Present age of P, Q, R, S = 45 x 4 + 20 = 200\nPresent age of P, Q, R, S and T = 49 x 5 = 245\nHence, the age of T = 245 - 200 = 45 years.\n"}
22935
  {"question": "In what time a sum of money double itself at 3% per annum simple interest?\nOptions:\n(A) 33 1/8%\n(B) 33 1/3%\n(C) 33 3/3%\n(D) 33 1/7%\n(E) 32 1/3%", "answer": "(B)", "chain_of_thought": "P = (P*3*R)/100\nR = 33 1/3%\n"}
22936
+ {"question": "Two pipes can fill a tank in 20 and 24 minutes respectively and a waste pipe can empty 5 gallons per minute. All the three pipes working together can fill the tank in 15 minutes. The capacity of the tank is?\nOptions:\n(A) 60 gallons\n(B) 200 gallons\n(C) 120 gallons\n(D) 180 gallons\n(E) 130 gallons", "answer": "(B)", "chain_of_thought": "Work done by the waste pipe in 1 minute = 1/15 - (1/20 + 1/24) = - 1/40\nVolume of 1/40 part = 5 gallons\nVolume of whole = 5 * 40 = 200 gallons.\n"}
22937
  {"question": "A can do a job in 18 days and B can do it in 24 days. A and B working together will finish twice the amount of work in days?\nOptions:\n(A) 22 1/6\n(B) 22 1/2\n(C) 20 4/7\n(D) 22 1/9\n(E) 22 1/1", "answer": "(C)", "chain_of_thought": "1/18 + 1/24 = 7/72\n72/7 = 72/7 *2 = 20 4/7 days\n"}
22938
  {"question": "A family with 1 mother, 1 father, and 4 children sit in a car with 2 front seats and 3 back seats. If the mother drives with a child in the front, and the father sits in the back center seat with the other two children on either side of him, how many seating arrangements are possible?\nOptions:\n(A) 3\n(B) 4\n(C) 6\n(D) 8\n(E) 24", "answer": "(E)", "chain_of_thought": "Mother has a fixed place and father, so there are 4! ways to arrange the children, hence\n"}
22939
  {"question": "A man goes into a barbershop and gets a $15 haircut. He pays the barber with a $20 bill, but the barber doesn't have change because it is an especially slow day. The barber goes to the flower shop next to his own and trades the $20 bill for a $10 dollar bill and two $5 bills. Then he gives the man his $5 in change.\nLater the lady from the flower shop confronts the barber and tells him that the $20 bill he gave her was counterfeit. The barber agrees and he gives the lady a different $20 bill.\nLater that day he tries to figure out how much money he lost. What did he lose?\nOptions:\n(A) $5\n(B) $10\n(C) $12\n(D) $15\n(E) $20", "answer": "(A)", "chain_of_thought": "He lost $5. The lady from the flower shop gave him $20 in change, but eventually got $20 back. She broke even. The man who got the haircut gave the barber nothing (except counterfeit money) but got $5 back from the barber. So the barber lost only $5, and gave a free haircut.\n"}
 
23426
  {"question": "A train which has 390 m long, is running 45 kmph. In what time will it cross a person moving at 9 kmph in same direction ?\nOptions:\n(A) 26 sec\n(B) 39 sec\n(C) 36 sec\n(D) 29 sec\n(E) 30 sec", "answer": "(B)", "chain_of_thought": "Time taken to cross a moving person = length of train/ relative speed\nTime taken = 390/((45-9) (5/18) = 390/ 36*(5/18) = 390/10 = 39 sec\n"}
23427
  {"question": "100 is increased by 50%. Find the final number.\nOptions:\n(A) 100\n(B) 110\n(C) 150\n(D) 155\n(E) 160", "answer": "(C)", "chain_of_thought": "Final number = Initial number + 50%(original number) = 100 + 50%(100) = 100 + 50 = 150.\n"}
23428
  {"question": "How much is 80% of 40 is greater than 4/5 of 25?\nOptions:\n(A) 22\n(B) 77\n(C) 15\n(D) 12\n(E) 88", "answer": "(D)", "chain_of_thought": "(80/100) * 40 \u2013 (4/5) * 25\n32 - 20 = 12\n"}
23429
+ {"question": "Two pipes can fill a tank in 20 and 24 minutes respectively and a waste pipe can empty 3 gallons per minute. All the three pipes working together can fill the tank in 15 minutes. The capacity of the tank is?\nOptions:\n(A) 120 gallons\n(B) 200 gallons\n(C) 170 gallons\n(D) 180 gallons\n(E) 250 gallons", "answer": "(A)", "chain_of_thought": "Work done by the waste pipe in 1 minute = 1/15 - (1/20 + 1/24) = - 1/40\nVolume of 1/40 part = 3 gallons\nVolume of whole = 3 * 40 = 120 gallons.\n"}
23430
  {"question": "When tossed, a certain coin has equal probability of landing on either side. If the coin is tossed 4 times, what is the probability that it will land twice on heads and twice tails?\nOptions:\n(A) 1/8\n(B) 1/4\n(C) 1/16\n(D) 1/32\n(E) 1/2", "answer": "(C)", "chain_of_thought": "Must be twice on heads and twice on tails\n1/2*1/2*1/2*1/2 = 1/16\n"}
23431
  {"question": "Find the C.I. on a sum of Rs.1600 for 9 months at 20% per annum, interest being compounded quarterly?\nOptions:\n(A) 3388\n(B) 2778\n(C) 2522\n(D) 2988\n(E) 2771", "answer": "(C)", "chain_of_thought": "A = 1600(21/20)3 = 2522\n"}
23432
  {"question": "A and B can do a work in 12 days, B and C in 30 days and C and A in 36 days. In how many days will the work be completed, if all three of them work together?\nOptions:\n(A) 180/15\n(B) 180/10\n(C) 180/13\n(D) 180/15\n(E) 180/11", "answer": "(C)", "chain_of_thought": "One day work of A and B = 1/12\nOne day work of B and C = 1/30\nOne day work of C and A = 1/36\n2(A + B + C) = 1/12 + 1/30 + 1/36\n2(A + B + C) = 13/90\n(A + B + C) = 13/180\nNumber of days required = 180/13 days.\n"}