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