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