import torch



def   __A		(			):



 """simple docstring"""


 if torch.cuda.is_available():
  __a       =  torch.cuda.device_count()
 else:
  __a       =  0
 print(f"""Successfully ran on {num_gpus} GPUs"""					)


if __name__ == "__main__":
  main()



def   __A		(			_A = 100_0000					):



 """simple docstring"""


 __a       =  [i - 1 for i in range(limit + 1					)]

 for i in range(2							,				limit + 1					):
  if phi[i] == i - 1:
   for j in range(2 * i							,				limit + 1							,				_A					):
    phi[j] -= phi[j] // i

 return sum(phi[2 : limit + 1]					)


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


