Historian hysteria (AOC2024.01.2)

Sign in to test your solution.