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