


import fire

from utils import calculate_rouge, save_json





def   _UpperCAmelCase       (     UpperCAmelCase      :			Optional[Any]						,	UpperCAmelCase      :			Any						,	UpperCAmelCase      :			List[Any]=None						,	**UpperCAmelCase      :			Dict      ):
      """simple docstring"""




      __lowerCamelCase     :      Tuple       						=						[x.strip() for x in open(UpperCAmelCase      ).readlines()]
      __lowerCamelCase     :      List[Any]       						=						[x.strip() for x in open(UpperCAmelCase      ).readlines()][: len(UpperCAmelCase      )]
      __lowerCamelCase     :      Dict       						=						calculate_rouge(UpperCAmelCase						,	UpperCAmelCase						,	**UpperCAmelCase      )
      if save_path is not None:
            save_json(UpperCAmelCase						,	UpperCAmelCase						,	indent=UpperCAmelCase      )
      return metrics  # these print nicely


if __name__ == "__main__":
    fire.Fire(calculate_rouge_path)







def   _UpperCAmelCase       (     UpperCAmelCase      :			int = 4_000_000      ):
      """simple docstring"""




      __lowerCamelCase     :      Union[str, Any]       						=						[0, 1]
      __lowerCamelCase     :      Dict       						=						0
      while fib[i] <= n:
            fib.append(fib[i] + fib[i + 1]      )
            if fib[i + 2] > n:
                  break
            i += 1
      __lowerCamelCase     :      Any       						=						0
      for j in range(len(UpperCAmelCase      ) - 1      ):
            if fib[j] % 2 == 0:
                  total += fib[j]

      return total


if __name__ == "__main__":
    print(F'''{solution() = }''')



