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