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

Ex Input:
['p', 'Z', 'Z', 5929, 7441, 'g', 7897, 'p', 4341, 'F', 'c', 'i', '1227', 'p', '6197', 'M', '3549', 'G', '11', '7667', 'T', '7819', 'T', '8965', '4725', 'R', 'Q', '4873', '4701', 'F', 2669, 3809, 645, 6921, 'R', 9767, 'h', 'J', 7893, 'h'], [937, 'a', 'i', '1227', 'p', '6197', 'M', '3549', 'G', '11', '7667', 'T', '7819', 'T', '8965', '4725', 'R', 'Q', '4873', '4701', 'Z', 'q', 'u', 6333, 5793, 'a', 783, 'K', 'R']

Ex Output:
i, 1227, p, 6197, M, 3549, G, 11, 7667, T, 7819, T, 8965, 4725, R, Q, 4873, 4701


Ex Input:
[9317, 'w', 4993, 's', 'm', '6813', 'w', '1303', '849', 'k', '6253', '6957', '8725', '6917', 'f', '1977', '6293', '2107', 'Z', '3307', 't', '2617', 'D', 'b', 'l', '8713', 'P', 'C', 'T', 'n', 'm', 3279, 'p', 5809, 'R', 103, 'q', 7037], ['w', 'y', 1757, 'P', 5339, 'v', 2295, 'J', 'D', 6391, 4415, 3971, 2739, 's', 'm', '6813', 'w', '1303', '849', 'k', '6253', '6957', '8725', '6917', 'f', '1977', '6293', '2107', 'Z', '3307', 't', '2617', 'D', 'b', 'l', '8713', 'P', 'C', 'T', 't', 583, 2855, 'n', 't', 7281, 5103, 'E', 3181, 3639, 'G', 'c', 4007, 'H', 'v', 8375, 'j', 'I', 'r', 'l', 9621, 'X', 1885, 4309]

Ex Output:
s, m, 6813, w, 1303, 849, k, 6253, 6957, 8725, 6917, f, 1977, 6293, 2107, Z, 3307, t, 2617, D, b, l, 8713, P, C, T


Ex Input:
['F', 'x', 2847, 7975, 8937, 9381, 6645, 3721, 'q', 'x', 6239, 'E', 263, 'w', 'c', 'O', 3387, 'Y', 6017, 1181, '6013', '613', '3259', '1037', 'u', 'w', '9971', '1445', '4719', 's', '4473', '4335', 'j', '3099', 'J', 'Q', 'Y', '5945', 'F', '3175', 't', 'B', 'U', 'U', '3605', '8619', '3759', 'q', '4377', '9715', 'H', 'M', 9991, 'V', 5533, 'l', 'E', 941, 7709, 't', 'D', 6737, 'c', 2065, 1901, 2321, 4067, 'W', 9557, 'B', 'e', 5469, 'i', 2635], [2425, 5303, 'F', 'S', 'p', 'x', 'C', 9325, 'Z', 'q', 'w', 'o', 'F', 'P', 5403, 505, 'C', 10001, 'f', 'f', 'K', 6599, 3035, 'R', 'm', '6013', '613', '3259', '1037', 'u', 'w', '9971', '1445', '4719', 's', '4473', '4335', 'j', '3099', 'J', 'Q', 'Y', '5945', 'F', '3175', 't', 'B', 'U', 'U', '3605', '8619', '3759', 'q', '4377', '9715', 'u', 5001, 3109, 'I', 'b', 'i', 'c', 7703, 's', 'M', 7069]

Ex Output:

6013, 613, 3259, 1037, u, w, 9971, 1445, 4719, s, 4473, 4335, j, 3099, J, Q, Y, 5945, F, 3175, t, B, U, U, 3605, 8619, 3759, q, 4377, 9715