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

Ex Input:
[443, 'w', 9731, 'M', 'N', 'P', '9231', 'j', 'H', '5851', 'F', 'W', 2301], ['Z', 1747, 6223, 'u', 1065, 'J', 'N', 'P', '9231', 'j', 'H', '5851', 'J', 5037, 9047]

Ex Output:
N, P, 9231, j, H, 5851


Ex Input:
['x', 9249, 'X', 'o', '7637', 'q', 'S', '733', '1483', 'T', '7653', 'F', '7879', 'k', '1881', 'Q', 'J', '4517', 'n', 'q', '1919', '381', '4725', 'J', 10001, 'A', 225, 1607, 'a', 'h', 6377], [375, 'D', 4093, 'g', 735, 955, 'c', 9937, 2987, 7035, 'X', 7703, 9937, 'Y', 3849, 2197, 4731, 'X', 'o', '7637', 'q', 'S', '733', '1483', 'T', '7653', 'F', '7879', 'k', '1881', 'Q', 'J', '4517', 'n', 'q', '1919', '381', '4725', 'Y', 'K', 's', 1667, 9723, 3697, 1759, 3243, 'r', 'v', 'Z']

Ex Output:
X, o, 7637, q, S, 733, 1483, T, 7653, F, 7879, k, 1881, Q, J, 4517, n, q, 1919, 381, 4725


Ex Input:
['L', 't', 'j', 7237, 305, 'F', 'f', 'C', 'r', 'Z', 6373, 7899, 9671, 'j', '2599', '1571', 'X', 'l', 'o', 'G', '4275', '7153', 'v', '3671', 'P', '2283', 'a', '1187', '3587', 'g', '8969', 'q', 'a', 'R', 'r', 'U', '9841', '7621', '493', '2567', 'I', 'K', 'K', 4165, 'N', 8221, 'a', 'L', 9913, 'J', 5689, 'z', 4843, 153], ['H', 7331, 8259, 2005, 6195, 'Z', 'E', 'v', 'j', '2599', '1571', 'X', 'l', 'o', 'G', '4275', '7153', 'v', '3671', 'P', '2283', 'a', '1187', '3587', 'g', '8969', 'q', 'a', 'R', 'r', 'U', '9841', '7621', '493', '2567', 'K', 9509, 'v', 'x', 1037, 'y', 3461, 'z', 'Z', 'l']

Ex Output:

j, 2599, 1571, X, l, o, G, 4275, 7153, v, 3671, P, 2283, a, 1187, 3587, g, 8969, q, a, R, r, U, 9841, 7621, 493, 2567