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