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