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