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