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