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