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