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