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