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