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