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