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