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