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