"""simple docstring"""






def      UpperCAmelCase__			(							lowerCAmelCase__	:int = 1_0_0_0						)					->       int:
      '''simple docstring'''


      lowercase								=      2**power
      lowercase								=      str(lowerCAmelCase__						)
      lowercase								=      list(lowerCAmelCase__						)
      lowercase								=      0

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

      return sum_of_num


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




"""simple docstring"""






import torch

from diffusers import StableDiffusionPipeline


__lowerCAmelCase       :			str   	="""path-to-your-trained-model"""
__lowerCAmelCase       :			int   	=StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.floataa).to("""cuda""")

__lowerCAmelCase       :			Optional[int]   	="""A photo of sks dog in a bucket"""
__lowerCAmelCase       :			int   	=pipe(prompt, num_inference_steps=5_0, guidance_scale=7.5).images[0]

image.save("""dog-bucket.png""")



