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