def convertToTitle(self, n: int) -> str:
    if (n == 0):
        return ''
    res = ''
    while (n > 0):
        rem = (n % 26)
        if (rem == 0):
            rem = 26
        res = (chr((64 + rem)) + res)
        n = (n // 26)
        if (rem == 26):
            n -= 1
    return res
def convertToTitle(self, n: int) -> str:
    if (n == 0):
        return 
    res = 
    while (n > 0):
        rem = (n % 26)
        if (rem == 0):
            rem = 26
        res = (chr((64 + rem)) + res)
        n = (n // 26)
        if (rem == 26):
            n -= 1
    return res