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