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