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