<commit_before><commit_msg>Solved problem 5.<commit_after>#! /usr/bin/env python3

from common.prime import prime_factors

def main():
	result = 1
	map = dict()
	for x in range(2,20):
		temp = prime_factors(x)
		for n in range(2,20):
			if n in temp:
				if n in map:
					map[n] = max(temp.count(n), map[n])
				else:
					map[n] = temp.count(n)

	for x in map:
		result *= (x**map[x])
	print (result)

if __name__ == '__main__':
	main()
{'fraction_non_alphanumeric': 0.15753424657534246, 'fraction_numerical': 0.02054794520547945, 'mean_word_length': 3.303921568627451, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3027664', 'n_tokens_mistral': 203, 'n_tokens_neox': 176, 'n_words': 51}