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