Brute Force pythonem ?

Do góry Bottom