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