fork download
  1. a = 0
  2. while True:
  3. pr = 1
  4. raw = str(a)
  5. for i in raw:
  6. pr *= int(i)
  7. if pr == 2160:
  8. print(raw)
  9. break
  10. a += 1
Success #stdin #stdout 0.02s 9348KB
stdin
Standard input is empty
stdout
5689