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