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