bookman purchased 60 copies of a new book released recently , 10 of which are hardback and sold for $ 20 each , and rest are paperback and sold for $ 10 each . if 14 copies were sold and the total value of the remaining books was 660 , how many paperback copies were sold ?
"the bookman had 10 hardback ad 60 - 10 = 50 paperback copies ; 14 copies were sold , hence 60 - 14 = 46 copies were left . let # of paperback copies left be p then 10 p + 20 ( 46 - p ) = 660 - - > 10 p = 260 - - > p = 26 # of paperback copies sold is 50 - 26 = 24 answer : b"
divide(subtract(subtract(add(multiply(subtract(60, 10), 10), multiply(10, 20)), 660), multiply(gcd(60, 10), 20)), 10)