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