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