def _write_outpt(parameters):
    """Write OUTPT block data."""
    outpt = parameters["react"]["output"]

    values = [outpt["format"]]
    values += [x for x in outpt["shape"][:3]] if "shape" in outpt else []
    out = ["{}\n".format(" ".join(str(x) for x in values))]

    return out