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