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