# your code goes here
testStr = "gdsfgfdhjghfgsdf"
def sortBy(item):
return item[1]
result = sorted([[str(c), testStr.count(c)] for c in set(testStr)], key=sortBy, reverse=True)
print(";".join('"{}"={}'.format(i[0], i[1]) for i in result))
IyB5b3VyIGNvZGUgZ29lcyBoZXJlCnRlc3RTdHIgPSAiZ2RzZmdmZGhqZ2hmZ3NkZiIKCmRlZiBzb3J0QnkoaXRlbSk6CglyZXR1cm4gaXRlbVsxXQoKcmVzdWx0ID0gc29ydGVkKFtbc3RyKGMpLCB0ZXN0U3RyLmNvdW50KGMpXSBmb3IgYyBpbiBzZXQodGVzdFN0cildLCBrZXk9c29ydEJ5LCByZXZlcnNlPVRydWUpCgpwcmludCgiOyIuam9pbignInt9Ij17fScuZm9ybWF0KGlbMF0sIGlbMV0pIGZvciBpIGluIHJlc3VsdCkp