def get_state_fips_code(fips_code):
    """ Returns the FIPS code of the state that the given fips_code
        belongs in.   The first two chars of the fips code indicate the
        state.

    """
    return fips_code[:2] + "000"