Historian hysteria (AOC2024.01.1)

Sign in to test your solution.