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