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