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