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