def getMaxThroughput(host_throughput):
sorted_throughput = sorted(host_throughput, reverse=True)
system_throughput = 0
for i in range(0, len(sorted_throughput) - 2, 3):
system_throughput += sorted_throughput[i + 1]
return system_throughput
ZGVmIGdldE1heFRocm91Z2hwdXQoaG9zdF90aHJvdWdocHV0KToKICAgIHNvcnRlZF90aHJvdWdocHV0ID0gc29ydGVkKGhvc3RfdGhyb3VnaHB1dCwgcmV2ZXJzZT1UcnVlKQogICAgc3lzdGVtX3Rocm91Z2hwdXQgPSAwCiAgICAKICAgIGZvciBpIGluIHJhbmdlKDAsIGxlbihzb3J0ZWRfdGhyb3VnaHB1dCkgLSAyLCAzKToKICAgICAgICBzeXN0ZW1fdGhyb3VnaHB1dCArPSBzb3J0ZWRfdGhyb3VnaHB1dFtpICsgMV0KICAgIAogICAgcmV0dXJuIHN5c3RlbV90aHJvdWdocHV0Cgo=
NAppIGxvdmUgaGFja2VycmFuawpoYWNrZXJyYW5rIGlzIGFuIGF3ZXNvbWUgcGxhY2UgZm9yIHByb2dyYW1tZXJzCmhhY2tlcnJhbmsKaSB0aGluayBoYWNrZXJyYW5rIGlzIGEgZ3JlYXQgcGxhY2UgdG8gaGFuZ291dA==
4
i love hackerrank
hackerrank is an awesome place for programmers
hackerrank
i think hackerrank is a great place to hangout