Question
Ivan, Mark and Eric shared a bag of pens. Mark took 27 as many pens as Eric. Ivan took twice as many pens as the total Mark and Eric took. After Ivan had given 37 to Mark and 8 to Eric, Mark gave 2 to Eric. In the end, all three of them had the same number of pens. Find the difference between the number of pens that Ivan and Mark had at first.
4 m

Click button first when a symbol is required. X

Ivan, Mark and Eric shared a bag of pens. Mark took 27 as many pens as Eric. Ivan took twice as many pens as the total Mark and Eric took. After Ivan had given 37 to Mark and 8 to Eric, Mark gave 2 to Eric. In the end, all three of them had the same number of pens. Find the difference between the number of pens that Ivan and Mark had at first.