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