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