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