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

Ex Input:
['M', 'm', 8571, 'J', 7297, 3761, 35, 8987, 1723, 1719, 1591, 'Z', 3877, '6959', '3717', 'y', '4219', '993', 'E', '8809', 'A', 'q', 't', '5583', '6643', 'L', '5605', 'S', 'o', '3071', '1365', 'X', 2021, 'N', 3259, 'X', 'h', 'v', 7289, 9767, 2785, 7275], ['h', 'w', 'c', 'p', 'y', 'y', 'h', 'X', '6959', '3717', 'y', '4219', '993', 'E', '8809', 'A', 'q', 't', '5583', '6643', 'L', '5605', 'S', 'o', '3071', '1365', 'P', 'k', 'I', 7703]

Ex Output:
6959, 3717, y, 4219, 993, E, 8809, A, q, t, 5583, 6643, L, 5605, S, o, 3071, 1365


Ex Input:
['i', 'n', '7509', '7241', 'V', 'k', 205, 'H'], ['s', 4349, 7023, '7509', '7241', 'V', 'O', 't', 9237]

Ex Output:
7509, 7241, V


Ex Input:
['x', 4295, 'G', 'Y', 'v', 'Q', 's', 'b', 5989, 3771, 'e', 8433, 'f', 'R', 8273, 9779, 'I', 'q', 'f', '7219', 'C', '1205', '8949', '8891', 'Y', 's', 'H', 'B', 'G', '3461', 'h', 'r', '2535', 'K', 't', 'G', 4893, 'h', 7173, 's', 'n', 'B', 1019, 1183, 6629, 9845, 1095, 'N', 4899, 8545], ['M', 6575, 8751, 11, 'Y', 'b', 'e', 'K', 1093, 'G', 'I', 'q', 'f', '7219', 'C', '1205', '8949', '8891', 'Y', 's', 'H', 'B', 'G', '3461', 'h', 'r', '2535', 'K', 'Y', 'T', 'W', 'A', 'G', 2489, 'i', 't', 6099, 2409, 1583, 8703, 'u', 'Z', 'W', 'h', 9955, 'P']

Ex Output:

I, q, f, 7219, C, 1205, 8949, 8891, Y, s, H, B, G, 3461, h, r, 2535, K