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