Are these events independent or dependent?
A. Picking two colored pencils out of a box.
B. Picking a number from a hat, putting it back and choosing a second number.