Instructions: You are given a math word problem and you are supposed to make use of mathematical concepts like probability, combinatorics, linear equations, sequences/series, or simple operators like addition, subtraction, division, or multiplication to answer the given question. Choose the best option from the 5 given options and report that option.
Input: Question: The Lucknow-Indore Express without its rake can go 24 km an hour, and the speed is diminished by a quantity that varies as the square root of the number of wagon attached. If it is known that with four wagons its speed is 20 km/h, the greatest number of wagons with which the engine can just move is

Option A: 144

Option B: 140

Option C: 143

Option D: 124

Option E: 142
Output:
Option C