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