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