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