Solved 10345 Peter's Smoke

Simple number problem