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