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