def ascii_symbol_to_integer(character):
    """Convert ascii symbol to integer."""
    if(character == ' '):
        return 0
    elif(character == '+'):
        return 1
    elif(character == '#'):
        return 2