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