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