There are 6 baskets on the table. Each basket has 17, 16, 3, 18, 7 and 10 apples. Olivia chose first, Liam chose fifth, Sean chose third, John chose second, Emma chose sixth, and Matt chose fourth. How many apples did John and Matt choose in total?