from unittest.mock import Mock, patch

from file_transfer.send_file import send_file





@patch("""socket.socket"""       )
@patch("""builtins.open"""       )
def 			lowercase(	UpperCamelCase_							,					UpperCamelCase_       )		->	List[str]:







 '''simple docstring'''
 UpperCamelCase			  =      Mock()
 UpperCamelCase			  =      conn, Mock()
 UpperCamelCase			  =      iter([1, None]       )
 UpperCamelCase			  =      lambda UpperCamelCase_       : next(_UpperCamelCase       )

 # ===== invoke =====
 send_file(filename="""mytext.txt"""							,					testing=_UpperCamelCase       )

 # ===== ensurance =====
 sock.assert_called_once()
 sock.return_value.bind.assert_called_once()
 sock.return_value.listen.assert_called_once()
 sock.return_value.accept.assert_called_once()
 conn.recv.assert_called_once()

 file.return_value.__enter__.assert_called_once()
 file.return_value.__enter__.return_value.read.assert_called()

 conn.send.assert_called_once()
 conn.close.assert_called_once()
 sock.return_value.shutdown.assert_called_once()
 sock.return_value.close.assert_called_once()



def 							__lowerCAmelCase     (							_UpperCamelCase		:	List[str]=2_81_23						)		->				str:
 '''simple docstring'''


 SCREAMING_SNAKE_CASE		    =      [1] * (limit + 1)

 for i in range(2		,				int(limit**0.5						) + 1						):
  sum_divs[i * i] += i
  for k in range(i + 1		,				limit // i + 1						):
   sum_divs[k * i] += k + i

 SCREAMING_SNAKE_CASE		    =      set()
 SCREAMING_SNAKE_CASE		    =      0

 for n in range(1		,				limit + 1						):
  if sum_divs[n] > n:
   abundants.add(_UpperCamelCase						)

  if not any((n - a in abundants) for a in abundants						):
   res += n

 return res


if __name__ == "__main__":
      print(solution())

