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

Ex Input:
['c', 7387, '4905', '999', '5697', 'G', '9975', 'f', 'I', '2807', '6785', '7473', '9999', '8011', 'W', 'i', 'A', 7573], ['K', 'g', 'b', 'u', 7899, 'k', 's', 223, '4905', '999', '5697', 'G', '9975', 'f', 'I', '2807', '6785', '7473', '9999', '8011', 'h', 7411, 83, 'T', 9199, 't', 9245]

Ex Output:
4905, 999, 5697, G, 9975, f, I, 2807, 6785, 7473, 9999, 8011


Ex Input:
['L', 'q', 'C', 'c', 6507, 'x', 'C', 8247, 2327, 'q', 9785, 'U', 1653, 5189, 1035, 5417, 7385, 3065, 8415, '765', 'D', 'Z', '2235', 'f', '6389', 'e', '4773', 'm', '6621', '1741', '3119', '9893', 'd', 's', '6143', '3079', '4281', 'T', '261', 'H', '7583', 'L', '8421', 'k', 'F', 9173, 'a'], [3971, 6169, '765', 'D', 'Z', '2235', 'f', '6389', 'e', '4773', 'm', '6621', '1741', '3119', '9893', 'd', 's', '6143', '3079', '4281', 'T', '261', 'H', '7583', 'L', '8421', 'H', 'y', 'G', 'a', 'W', 'v', 6451, 4577, 'f', 8945, 'N', 'd', 4649, 'E', 5397, 8145, 'y', 1997, 7353, 'c', 3473, 'k', 'Z', 8131]

Ex Output:
765, D, Z, 2235, f, 6389, e, 4773, m, 6621, 1741, 3119, 9893, d, s, 6143, 3079, 4281, T, 261, H, 7583, L, 8421


Ex Input:
['T', 393, 8901, 'v', '7629', 'F', 'u', 'k', 'W', 8907, 'h', 2541], [7631, 'q', 'L', 'k', 'E', 'v', '7629', 'F', 'u', 'k', 'L', 'T', 1767, 6521, 4659]

Ex Output:

v, 7629, F, u, k