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