Sample Input for just fact to range 1000