Problem: there is a lot of speculation that the economy of a country depends on how fast people spend their money in addition to how much they save . auggie was very curious to test this theory . auggie spent all of his money in 5 stores . in each store , he spent rs . 4 more than one - half of what he had when he went in . how many rupees did auggie have when he entered the first store ?
Rationale: amount left = 0.5 x − 4 for fifth store this is zero . so x = 8 . that means he entered fifth store with 8 . now for fourth store , amount left = 8 so 0.5 x − 4 = 8 ⇒ x = 24 for third store , amount left = 24 so 12 x − 4 = 24 ⇒ x = 56 for second store , amount left = 56 so 0.5 x − 4 = 56 ⇒ x = 120 for first store , amount left = 120 so 0.5 x − 4 = 120 ⇒ x = 248 so he entered first store with 248 . answer : a
annotated_formula: multiply(add(multiply(add(multiply(add(multiply(add(multiply(4, const_2), 4), const_2), 4), const_2), 4), const_2), 4), const_2)