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