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