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