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