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

Ex Input:
[5587, 5085, 'i', 'H', 9133, 'D', 'y', 'M', 't', 'r', '7787', '1083', 'F', '8153', 'i', '979', 'b', 'z', 'g', '1657', 't', '2281', '8149', '7429', 'o', 'I', 573, 1699, 'M', 'm', 'r', 'o', 2659, 8785], ['T', 'h', 9991, 'c', 'J', 'Z', 'Z', 1541, 7687, 'z', 1961, 'A', 9619, 'b', 'o', 'r', '7787', '1083', 'F', '8153', 'i', '979', 'b', 'z', 'g', '1657', 't', '2281', '8149', '7429', 'o', 'p', 6099, 'W', 'V', 'Z', 4553, 5651]

Ex Output:
r, 7787, 1083, F, 8153, i, 979, b, z, g, 1657, t, 2281, 8149, 7429, o


Ex Input:
[6701, 6237, 6695, 2775, 9339, 3061, '5783', '3345', '2919', '6471', '4569', '1213', '7315', 'K', '1913', 'R', '4489', 'G', '1231', '9701', '11', '4737', '4497', '7677', 's', 'V', 945, 6657, 'L', 8813, 'e', 'C', 'Q'], ['O', 'P', 'b', 2035, 'Q', 'k', 'T', 'A', 2991, 'Y', 'Y', 'a', '5783', '3345', '2919', '6471', '4569', '1213', '7315', 'K', '1913', 'R', '4489', 'G', '1231', '9701', '11', '4737', '4497', '7677', 's', 'j', 'd', 'R', 'a', 2073, 7219, 9273, 'c', 287, 5233, 'I', 'E', 1219, 'j', 'X', 'j']

Ex Output:
5783, 3345, 2919, 6471, 4569, 1213, 7315, K, 1913, R, 4489, G, 1231, 9701, 11, 4737, 4497, 7677, s


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