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