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