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