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