def get_ptr_suffix_id(self, version: int) -> str:
    if (version == 1):
        res = ['P']
        if self.volatile:
            res.append('V')
        if self.const:
            res.append('C')
        res.append(self.next.get_ptr_suffix_id(version))
        return ''.join(res)
    res = [self.next.get_ptr_suffix_id(version)]
    res.append('P')
    if self.volatile:
        res.append('V')
    if self.const:
        res.append('C')
    return ''.join(res)
def get_ptr_suffix_id(self, version: int) -> str:
    if (version == 1):
        res = ['P']
        if self.volatile:
            res.append('V')
        if self.const:
            res.append('C')
        res.append(self.next.get_ptr_suffix_id(version))
        return .join(res)
    res = [self.next.get_ptr_suffix_id(version)]
    res.append('P')
    if self.volatile:
        res.append('V')
    if self.const:
        res.append('C')
    return .join(res)