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