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