def reduce_pes_dct_to_user_inp(pes_dct, pesnums):
    """ get a pes dictionary containing only the PESs the user is running
    """
    run_pes_dct = {}
    for pes_idx, formula in enumerate(pes_dct):
        if pes_idx+1 in pesnums:
            run_pes_dct[formula] = pes_dct[formula]
    return run_pes_dct