In a class there were 36 learners. Each learner was given 16 beads to make a necklace. How many beads were there altogether?