the sum of (A) the amount of any benefits payable to such employee for such month under the Railroad Unemployment Insurance Act [
45 U.S.C. 351 et seq.] or under any State unemployment insurance program, and (B) the amount of any earnings of such employee for such month from employment or self-employment of any kind.