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