import enum
import shutil
import sys


UpperCAmelCase_    ,				UpperCAmelCase_			    =							shutil.get_terminal_size()

UpperCAmelCase_			    =							{'''UP''': '''A''', '''DOWN''': '''B''', '''RIGHT''': '''C''', '''LEFT''': '''D'''}




class  __magic_name__  (		enum.Enum    ):





   """simple docstring"""




   lowerCAmelCase      :    str  			=   0
   lowerCAmelCase      :    Optional[int]  			=   1




def       lowerCAmelCase_     (		lowercase:							Optional[Any]  ,					lowercase:							Optional[int]=""		)    ->				List[str]:







 '''simple docstring'''
 sys.stdout.write(str(__A		) + end		)
 sys.stdout.flush()




def       lowerCAmelCase_     (		lowercase:							Union[str, Any]  ,					lowercase:							Tuple  ,					lowercase:							Optional[Any]=""		)    ->				List[Any]:







 '''simple docstring'''
 forceWrite(F"""\u001b[{color}m{content}\u001b[0m"""  ,					__A		)




def       lowerCAmelCase_     (		)    ->				int:







 '''simple docstring'''
 forceWrite('''\r'''		)




def       lowerCAmelCase_     (		lowercase:							int  ,					lowercase:							str		)    ->				Optional[int]:







 '''simple docstring'''
 forceWrite(F"""\033[{num_lines}{CURSOR_TO_CHAR[direction.upper()]}"""		)




def       lowerCAmelCase_     (		)    ->				int:







 '''simple docstring'''
 forceWrite(''' ''' * TERMINAL_WIDTH		)
 reset_cursor()





def       lowerCAmelCase_     (		)    ->				Any:







 '''simple docstring'''
 reset_cursor()
 forceWrite('''-''' * TERMINAL_WIDTH		)
def       lowerCAmelCase_     (		lowercase:							float		)    ->				float:







 '''simple docstring'''

 if edge <= 0 or not isinstance(lowercase  ,					lowercase		):
  raise ValueError('''Length must be a positive.'''		)
 return 3 * ((25 + 10 * (5 ** (1 / 2))) ** (1 / 2)) * (edge**2)




def       lowerCAmelCase_     (		lowercase:							float		)    ->				float:







 '''simple docstring'''

 if edge <= 0 or not isinstance(lowercase  ,					lowercase		):
  raise ValueError('''Length must be a positive.'''		)
 return ((15 + (7 * (5 ** (1 / 2)))) / 4) * (edge**3)


if __name__ == "__main__":
  import doctest

  doctest.testmod()