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