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