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