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