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