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