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