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