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