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