<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def capfirst(value, failure_string='N/A'):
 """ Capitalizes the first character of the value. If the submitted value isn't a string, returns the `failure_string` keyword argument. Cribbs from django's default filter set """

    try:
        value = value.lower()
        return value[0].upper() + value[1:]
    except:
        return failure_string