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