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