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

Ex Input:
['Z', 't', 8725, 'H', 6417, 7935, 'r', '831', 'c', '8509', '8765', '847', '9425', '3691', 'h', 'O', 'j', 'G'], [1931, 'E', 'Y', 9491, '831', 'c', '8509', '8765', '847', '9425', '3691', 'M', 8629, 'z', 'j', 3887]

Ex Output:
831, c, 8509, 8765, 847, 9425, 3691


Ex Input:
[7247, 1163, 3573, 'Q', 'j', 'W', 'Z', '9033', '57', 'W', '5259', 'Z', '3169', 't', '5065', '8825', 's', '4051', '8469', '401', 'U', '4069', 'E', 'V', '8889', 'S', 'D', 't', '7323', 'c', '2987', 'J', 'D', '3061', 'M', 9599, 'n', 'V'], ['m', 5641, 4917, 'p', 'L', 4811, 'W', 9443, 2931, 6127, 't', 'H', 'O', 'V', 'S', 'A', 1447, 'Y', 'O', 6005, 9461, 'l', '9033', '57', 'W', '5259', 'Z', '3169', 't', '5065', '8825', 's', '4051', '8469', '401', 'U', '4069', 'E', 'V', '8889', 'S', 'D', 't', '7323', 'c', '2987', 'J', 'D', '3061', 'o', 'X', 'E', 'O', 7153, 'c', 'q', 'a', 3629, 'k']

Ex Output:
9033, 57, W, 5259, Z, 3169, t, 5065, 8825, s, 4051, 8469, 401, U, 4069, E, V, 8889, S, D, t, 7323, c, 2987, J, D, 3061


Ex Input:
[323, 'g', 7063, 'p', 'f', 'd', 5331, 'b', 'm', '7269', 'X', '9669', '4009', '3797', '6363', '4747', 'W', 'I', 1487, 'X', 'h', 7741], ['G', 'o', 6629, 'b', 'm', '7269', 'X', '9669', '4009', '3797', '6363', '4747', 'W', 'G', 4999, 2877, 6009, 'N']

Ex Output:

b, m, 7269, X, 9669, 4009, 3797, 6363, 4747, W