A poor young man finds a lamp with a genie trapped inside. The genie promises to grant the man three wishes if he frees him from the lamp.