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