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