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