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