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