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