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