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