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