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