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