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