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