2 Scala versions for codegolf

These Scala versions run at approx 4.6 seconds & 5.2 seconds.
The equivalent python version clock it at 85 seconds !!!