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