def remove_char(s: str) -> str: return s[1:-1] if __name__ == "__main__": print(remove_char("hallo"))