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