Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
lambdadeff(c,a:int(({'1111':10,'112':100,'22':200,'13':300,'4'):777}.get(''.join(sorted([str
x=sorted(a[a.count(i))for i in set(a)])
return int(([300,777,200,100,10][len(x)*(x[-1]!=3)+c]+c)/100)