Two men and a machine were picking oranges on a farm. One man picked x amount
oranges. The second man picked 12 less than the first. The machine picked three
times the second man. How many oranges did each pick if the total amount of
oranges picked is 332?