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