from typing import List


def keys_remove_dollar_suffixes(keys : List[str]) -> List[str]:
    """Removes dollar suffixes from keys."""
    
    result = []
    for key in keys:
        i = key.find("$")
        if i != -1:
            result.append(key[:i])
        else:
            result.append(key)
    return result