JS solution to 32 added.