def capitalize_by_hand(string: str) -> str:
    """
    Capitalizes a string by performing a code point shift
    for the first character.

    :param string: an input string
    :return: the capitalized string
    """
    character = string[0]
    if 97 <= ord(character) <= 122:
        shift = ord(character) - 32
        uppercase = chr(shift)
        return uppercase + string[1:]
    return string