Falling numbers solve with arrays.
Simple workshop problem solved.

Using type DateTime.