saving generated list of ugly numbers
got AC on Ugly Numbers