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