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

Ex Input:
['w', 'R', 3317, 'U', 8525, 5689, 'k', 7065, 'u', 'G', '7249', '9213', '8027', 'N', '7335', 'G', 'M', 'v', 'z', 'u', 's', 'N', '9207', 'k', '8011', 'u', 'm', 'K', '7863', 'E', 'X', 'H', 's', '1119', 'k', '1585', '3651', '3487', 'U', 'd', 'i', 2151, 5571, 'm', 'e', 2145, 5757, 'S', 1947, 3449, 'v', 8239, 9823, 'A', 9873, 2963, 'l', 'q', 7231, 'L'], ['d', 'H', 5593, 'F', 7939, 9755, 3989, 621, 67, 3663, 6659, 's', 'z', 'v', 'R', 'y', 1483, 6199, 369, 'e', 'E', 'G', '7249', '9213', '8027', 'N', '7335', 'G', 'M', 'v', 'z', 'u', 's', 'N', '9207', 'k', '8011', 'u', 'm', 'K', '7863', 'E', 'X', 'H', 's', '1119', 'k', '1585', '3651', '3487', 'U', 'z', 'B', 's', 7893, 'z', 'B', 'A', 5745, 'j', 3619, 'N', 3397, 1045, 'Q', 7795, 8059, 9189, 8603, 'S', 'G', 3003, 5893]

Ex Output:
G, 7249, 9213, 8027, N, 7335, G, M, v, z, u, s, N, 9207, k, 8011, u, m, K, 7863, E, X, H, s, 1119, k, 1585, 3651, 3487, U


Ex Input:
[7849, 813, 1309, 3749, '10001', 'g', '1057', 'c', 't', 't', 'i', 2269, 'M', 'q', 373], ['d', 4077, 3209, 'g', 5643, '10001', 'g', '1057', 'c', 't', 't', 'h', 'Y', 8349, 'q', 3939, 1333]

Ex Output:
10001, g, 1057, c, t, t


Ex Input:
['M', 'm', 5257, 7549, 'Q', 'z', 'c', 'R', 'X', '8399', 'B', 6093], [8939, 'k', 'L', 7349, 3965, 'z', 'c', 'R', 'X', '8399', 'V', 'W', 6461, 'z', 'e']

Ex Output:

z, c, R, X, 8399