output_description: Print the probability that a is odd. Your output will be considered correct
  when its absolute or relative error from the judge's output is at most
  10^{-6}.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      N
attempt: def main():
      x, y = map(int, input().split())
      tmp = []
      for i in range(2, max(2, min(int(x // 2) + 1, int(y // 2) + 1))):
          if x % i == 0 and y % i == 0:
              tmp.append(i)
              while True:
                  if x % i == 0:
                      x = x // i
                  else:
                      break
              while True:
                  if y % i == 0:
                      y = y // i
                  else:
                      break
  
      print(len(tmp) + 1)
      # print(tmp)
      # for i,a in enumerate(tmp):
      #     if a < 4:
      #         tmp[i] = 1
      #         continue
      #     j = 2
      #     for j in range(2,int(a**0.5)+1):
      #         if a % j == 0:
      #             tmp[i] = 0
      #             break
      #     if tmp[i] != 0:
      #         tmp[i] = 1
      # print(sum(tmp))
      # print(tmp)
  
      # cnt = 0
      # # print(tmp)
      # flg = 0
      # for i,a in enumerate(tmp):
      #     # print('out' + str(i) + ' ' + str(a))
      #     if a == 1:
      #         continue
      #     leng = len(tmp)
      #     for j in range(i+1,leng):
      #         # print(j)
      #         # print(tmp)
      #         # print(leng)
      #         if flg == 1:
      #             j -=1
      #         flg = 0
      #         if j >= leng:
      #             break
      #         # print(str(j) + ' ' + str(leng) + ' ' + str(tmp[j]))
      #         if tmp[j] % a == 0:
      #             tmp.pop(j)
      #             leng -=1
      #             j -= 1
      #             # print(tmp)
      #             # print(j)
      #             flg = 1
      #
      #                 # print(j)
      #                 # print(a)
      #
  
      # print(len(tmp))
      # print(tmp)
  
  
  if __name__ == "__main__":
      main()
  
problem_description: Statement
  
  Given is an integer N.
  
  Takahashi chooses an integer a from the positive integers not greater than N
  with equal probability.
  
  Find the probability that a is odd.
samples: [{"input": "4", "output": "0.5000000000\n    \n\nThere are four positive integers not greater than 4: 1, 2, 3, and 4. Among\nthem, we have two odd numbers: 1 and 3. Thus, the answer is \\frac{2}{4} = 0.5.\n\n* * *"}, {"input": "5", "output": "0.6000000000\n    \n\n* * *"}, {"input": "1", "output": "1.0000000000"}]