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