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