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