






import itertools
def 		_a					(   a				:int = 1_000_000				)							->    int:
 a							=   [1]

 for i in itertools.count(len(a				)				):
  a							=   0
  for j in itertools.count(1				):
   a							=   -1 if j % 2 == 0 else +1
   a							=   (j * j * 3 - j) // 2
   if index > i:
    break
   item += partitions[i - index] * sign
   item %= number
   index += j
   if index > i:
    break
   item += partitions[i - index] * sign
   item %= number

  if item == 0:
   return i
  partitions.append(a				)

 return 0


if __name__ == "__main__":
     import doctest

     doctest.testmod()

     print(f"""{solution() = }""")










from collections import namedtuple

UpperCAmelCase__            =	namedtuple("from_to", "from_ to")

UpperCAmelCase__            =	{
    "atm": from_to(1, 1),
    "pascal": from_to(0.000_0098, 101325),
    "bar": from_to(0.98_6923, 1.0_1325),
    "kilopascal": from_to(0.0098_6923, 101.325),
    "megapascal": from_to(9.8_6923, 0.10_1325),
    "psi": from_to(0.06_8046, 14.6959),
    "inHg": from_to(0.033_4211, 29.9213),
    "torr": from_to(0.0013_1579, 760),
}
def 		_a					(   a				:float			,							a				:str			,							a				:str				)							->    float:
 if from_type not in PRESSURE_CONVERSION:
  raise ValueError(
      F"""Invalid 'from_type' value: {from_type!r}  Supported values are:\n"""
      + ''', '''.join(a				)				)
 if to_type not in PRESSURE_CONVERSION:
  raise ValueError(
      F"""Invalid 'to_type' value: {to_type!r}.  Supported values are:\n"""
      + ''', '''.join(a				)				)
 return (
     value * PRESSURE_CONVERSION[from_type].from_ * PRESSURE_CONVERSION[to_type].to
 )


if __name__ == "__main__":
     import doctest

     doctest.testmod()


