Alex, Michelle and Nurul baked some pineapple tarts. Alex baked twice as many pineapple tarts as Michelle. When Michelle gave 1/3 of her pineapple tarts to Alex and Nurul gave 5/7 of hers to Alex, Alex had a total of 859 pineapple tarts. Nurul had 58 pineapple tarts left in the end. How many pineapple tarts had Michelle left?