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

Ex Input:
[1231, 'a', 9367, '155', 'r', '1473', '5679', '3161', 'L', 'e', 'b', 'm', '9427', '2001', '5293', '3487', 'K', '6467', 'S', 'e', 6603, 'm', 8145, 'L', 's', 1273, 9291, 'X'], [5773, 'D', 'W', 'F', 5987, 'D', 'H', 2095, 'I', 'X', 29, '155', 'r', '1473', '5679', '3161', 'L', 'e', 'b', 'm', '9427', '2001', '5293', '3487', 'K', '6467', 'S', 'C', 'a']

Ex Output:
155, r, 1473, 5679, 3161, L, e, b, m, 9427, 2001, 5293, 3487, K, 6467, S


Ex Input:
[5705, 4661, 4953, '6779', 'z', 'I', 'f', 'm', '3721', 'U', 'F', '2069', '1831', 'H', '2683', '139', '3889', '1427', '3339', 'T', '9517', '9753', '9041', '7995', '8657', 'q', '4753', '2789', 'C', 'a', 'W', 'a', 'R', 6843, 'D'], ['i', 475, 3657, 'k', 'P', 3397, 7147, 8055, 8965, 'X', 'g', 5421, 'e', 6979, 'P', 'G', 'c', 489, 9409, 9473, 'y', 6959, '6779', 'z', 'I', 'f', 'm', '3721', 'U', 'F', '2069', '1831', 'H', '2683', '139', '3889', '1427', '3339', 'T', '9517', '9753', '9041', '7995', '8657', 'q', '4753', '2789', 'C', 'a', 'h', 'c', 'g', 'C', 4493, 'R', 6359, 3315, 8949]

Ex Output:
6779, z, I, f, m, 3721, U, F, 2069, 1831, H, 2683, 139, 3889, 1427, 3339, T, 9517, 9753, 9041, 7995, 8657, q, 4753, 2789, C, a


Ex Input:
[3437, 7225, 'x', '1867', 'u', '8527', 'n', '9693', 'b', '9277', '6881', 'T', '9639', '6405', '2169', '9327', '8725', 't', 'v', 'M', '5049', 'u', 'P', 399, 3189, 't', 'k'], ['d', 5653, 'R', 'B', 5031, 'y', 9953, 7171, 7631, 'l', 'r', 'p', 'X', '1867', 'u', '8527', 'n', '9693', 'b', '9277', '6881', 'T', '9639', '6405', '2169', '9327', '8725', 't', 'v', 'M', '5049', 'p', 6443, 'A', 'H', 'N', 'N', 2255, 'U', 'b', 7955, 'B']

Ex Output:

1867, u, 8527, n, 9693, b, 9277, 6881, T, 9639, 6405, 2169, 9327, 8725, t, v, M, 5049