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