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