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