In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

Ex Input:
['e', 439, '9737', '9901', 'J', '4323', 'J', '3137', 'G', 'j', 4931, 7411, 'B', 'H', 'j', 7789], ['F', 'J', '9737', '9901', 'J', '4323', 'J', '3137', 'G', 'R', 'i', 'c', 'k', 'h', 'u']

Ex Output:
9737, 9901, J, 4323, J, 3137, G


Ex Input:
['C', 573, 'f', 1193, 7823, '1533', 'F', 'B', 'w', 'y', '3525', 't', '7201', 'h', 'f', 'w', 'Q', 'U', '1569', 'm', '9675', '1053', '4611', 'I', 3559, 5459, 2961, 'j', 7205, 5403, 8753, 2855, 55, 9273, 'e', 'G', 9505, 6191], [6441, 'L', 'r', 6289, 'P', 'r', 9227, 8285, 'Z', '1533', 'F', 'B', 'w', 'y', '3525', 't', '7201', 'h', 'f', 'w', 'Q', 'U', '1569', 'm', '9675', '1053', '4611', 'F', 'A', 'h', 'm', 5711, 'b', 933, 1093, 'S', 'b', 'x']

Ex Output:
1533, F, B, w, y, 3525, t, 7201, h, f, w, Q, U, 1569, m, 9675, 1053, 4611


Ex Input:
['N', 1775, 't', 385, 1349, 'T', 'E', 'u', 5647, 't', 'd', 'I', 'r', 'f', '6045', 'U', '9023', '9857', 'R', 'Y', 'w', 'P', '7089', '9679', '1507', 'S', '6815', 'Y', 'c', 'H', 'I', 'Q', 'Y', 'M', 7789, 'J', 'I', 4813, 6533, 1745, 'y', 4711, 'E', 'F', 5191, 's', 6979], ['W', 'F', 2799, 'I', 'r', 'f', '6045', 'U', '9023', '9857', 'R', 'Y', 'w', 'P', '7089', '9679', '1507', 'S', '6815', 'Y', 'c', 'H', 'I', 'Y', 'k', 6395, 'L', 5747, 'l', 4081, 'v', 3129, 7249, 375, 4575, 4725, 'R', 'A', 4761, 3217, 5203, 'E', 'T']

Ex Output:

I, r, f, 6045, U, 9023, 9857, R, Y, w, P, 7089, 9679, 1507, S, 6815, Y, c, H, I