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