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