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