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