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