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