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