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