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