Added a simple python solution for 8.1