If someone took 1/3 penuts form a bag and another took 1/4 from the bag and another took 1/2 of the bag and there was another person who took 10 there are 71 penuts remaining. What was the original amount of penuts?