'''simple docstring'''
def  __lowerCamelCase       (      _UpperCamelCase  :  int = 1000					):


      '''simple docstring'''


      UpperCAmelCase_            =  2**power
      UpperCAmelCase_            =  str(_UpperCamelCase					)
      UpperCAmelCase_            =  list(_UpperCamelCase					)
      UpperCAmelCase_            =  0

      for i in list_num:
            sum_of_num += int(_UpperCamelCase					)

      return sum_of_num


if __name__ == "__main__":
      lowercase__  :      Tuple        =					int(input("Enter the power of 2: ").strip())
      print("2 ^ ", power, " = ", 2**power)
      lowercase__  :      Optional[Any]        =					solution(power)
      print("Sum of the digits is: ", result)






'''simple docstring'''
from datetime import datetime

import matplotlib.pyplot as plt
import torch



def  __lowerCamelCase       (      _UpperCamelCase  :  Union[str, Any]					):


      '''simple docstring'''


      for param in module.parameters():
            UpperCAmelCase_            =  False



def  __lowerCamelCase       (      ):


      '''simple docstring'''


      UpperCAmelCase_            =  '''cuda''' if torch.cuda.is_available() else '''cpu'''
      if torch.backends.mps.is_available() and torch.backends.mps.is_built():
            UpperCAmelCase_            =  '''mps'''
      if device == "mps":
            print(
                '''WARNING: MPS currently doesn\'t seem to work, and messes up backpropagation without any visible torch'''
                ''' errors. I recommend using CUDA on a colab notebook or CPU instead if you\'re facing inexplicable issues'''
                ''' with generations.'''					)
      return device



def  __lowerCamelCase       (      _UpperCamelCase  :  Union[str, Any]					):


      '''simple docstring'''


      UpperCAmelCase_            =  plt.imshow(_UpperCamelCase					)
      fig.axes.get_xaxis().set_visible(_UpperCamelCase					)
      fig.axes.get_yaxis().set_visible(_UpperCamelCase					)
      plt.show()





def  __lowerCamelCase       (      ):


      '''simple docstring'''


      UpperCAmelCase_            =  datetime.now()
      UpperCAmelCase_            =  current_time.strftime('''%H:%M:%S'''					)
      return timestamp





