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