# [JavaScript (Node.js)], 64 bytes <!-- language-all: lang-javascript --> c=>a=>[,7.77,a.sort()[1]-a[2]?2:3,1,.1][new Set(a).size]+c/100|0 [Try it online!][TIO-jzlaeifo] [JavaScript (Node.js)]: https://nodejs.org [TIO-jzlaeifo]: https://tio.run/##bdBLbsMgEAbgPaeYJagTarAtN42cHqJLxAIRHLmKTGRQWvVxdhdDvAuzQOjTPzPiw9xMsPN4jbvJn9wy9Ivtj6Y/Kux416Hhwc@RMiX0ziip3@RrjQK50Gpyn/DuIjWMh/Hb6Sf7LKrqt1puZoboQgzQgyIKoEJIRwlsUGKr86vSmGjfFlp7SmwKiUzyThLrlKsfUYNtqntKZtpmpTmpoSxUl5Tc1shVqCtUb2vkKvRSNtw/JKIPhAx@BqqsH6eAMFq/Xu7r6mx0Jw1@KL/A4IcArOovjl/8mQ40ZxjNGcYO5G/5Bw "JavaScript (Node.js) – Try It Online" I am certain that this is golfable, but there has to be at least one JS answer to an Arnauld challenge.