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