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