# [Scala], <strike>54</strike> <strike>42</strike> 40 bytes Saved some bytes thanks to caird coinheringaahing, didymus, and [some tips][1] <!-- language-all: lang-scala --> l=>l.maxBy(_.toBinaryString.count(_>48)) [Try it online!][TIO-kiz15p29] [Scala]: http://www.scala-lang.org/ [TIO-kiz15p29]: https://tio.run/##bYxBC4IwHEfv@xS/4wZL0qRCUMhb5wgCifhnGsaaNVck4mdfi27R6cF78LqSFLn2eKlKi93AGDtVNa7UaE7m3CVYGUN9sbGm0ee9SLDVjUWKgQFPUqgTbKp7sdZ2jzSDp4/MqTRTwZVeec8PgW3zRpPpv5OgbB/a8kMWL4VwjN28tErzmvsRDyUiiZlELIT4bZH381hiKjH50xcSYfjRbBydmzzVGw "Scala – Try It Online" [1]: https://codegolf.stackexchange.com/questions/3885/tips-for-golfing-in-scala