'''simple docstring'''

from collections import namedtuple

lowercase_  		=			namedtuple('''from_to''', '''from_ to''')

lowercase_  		=			{
    '''atm''': from_to(1, 1),
    '''pascal''': from_to(0.0_000_098, 10_1325),
    '''bar''': from_to(0.986_923, 1.01_325),
    '''kilopascal''': from_to(0.00_986_923, 101.325),
    '''megapascal''': from_to(9.86_923, 0.101_325),
    '''psi''': from_to(0.068_046, 14.6_959),
    '''inHg''': from_to(0.0_334_211, 29.9_213),
    '''torr''': from_to(0.00_131_579, 760),
}



def 				UpperCamelCase__      (      a__      ,   a__      ,   a__   ):


						'''simple docstring'''






						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()






'''simple docstring'''

from itertools import compress, repeat
from math import ceil, sqrt



def 				UpperCamelCase__      (      a__   ):


						'''simple docstring'''






						if num <= 2:
												return []
						if num == 3:
												return [2]

						# Odd sieve for numbers in range [3, num - 1]
						_lowerCAmelCase					    =bytearray(B'\x01'   ) * ((num >> 1) - 1)

						for i in range(3      ,   int(sqrt(a__   )   ) + 1      ,   2   ):
												if sieve[(i >> 1) - 1]:
																		_lowerCAmelCase					    =i**2
																		_lowerCAmelCase					    =repeat(
																		    0      ,   ceil((num - i_squared) / (i << 1)   )   )

						return [2] + list(compress(range(3      ,   a__      ,   2   )      ,   a__   )   )


if __name__ == "__main__":
							import doctest

							doctest.testmod()





