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