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