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