New and ridiculous (incomplete) Python solution.