JavaScript code for PE problem 139 added.

Running time: 45.319s