RF-13160: Re-implement the InpuNumber* classes as Abstract classes