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

Input: Consider Input: ['u', 'r', 849, 'R', 'F', 'T', '8517', 'n', 'W', '7945', '6371', 'l', 'S', 'G', '7431', 'x', 'b', 'B', '437', '9051', 'p', '465', 'u', 'R', 'p', 'p', 'T', 'z', 'q', 'I', 435, 'f', 5345, 7911, 'A', 4969, 'Z', 'z', 'g', 'F', 'j', 'p', 8691, 'W', 'g'], ['O', 'A', 'Y', 7777, 1037, 637, 'X', 3059, 1375, 1443, 1615, 9593, 'D', 'R', 'S', 'M', 5927, 'R', 'F', 'T', '8517', 'n', 'W', '7945', '6371', 'l', 'S', 'G', '7431', 'x', 'b', 'B', '437', '9051', 'p', '465', 'u', 'R', 'p', 'Q', 'Y', 1371, 'M', 'Q', 1545, 4395, 'm', 'R', 6291, 'g', 'X', 5919, 'p', 'V', 'Y', 'N', 1117, 'U']

Output: R, F, T, 8517, n, W, 7945, 6371, l, S, G, 7431, x, b, B, 437, 9051, p, 465, u, R, p

Input: Consider Input: [4163, 'p', 'Z', 'i', 'r', 9525, 'c', 'C', 'L', 'J', 'L', '3441', 'W', '2257', '7885', '873', 'e', 'a', 'N', '2853', 'K', 'R', '5531', 'h', 'p', 'u', 'b', '6003', 'q', 'H', '6641', '9991', 'w', 6457, 'P', 1517, 6975, 2465, 'Y', 425, 'n', 375, 'O', 7707, 1105, 1985, 6149, 'l', 5761, 875, 4411], [2127, 9083, 'w', 'Z', 4071, 5347, 'r', 'J', 'L', '3441', 'W', '2257', '7885', '873', 'e', 'a', 'N', '2853', 'K', 'R', '5531', 'h', 'p', 'u', 'b', '6003', 'q', 'H', '6641', '9991', 'o', 'K', 1639, 'Z', 13, 'm', 'M', 'G', 'C', 353]

Output: J, L, 3441, W, 2257, 7885, 873, e, a, N, 2853, K, R, 5531, h, p, u, b, 6003, q, H, 6641, 9991

Input: Consider Input: [8523, 4561, 'g', '7619', '2605', '923', '1605', 'T', '5689', 's', 'p', 'W', 'C'], ['C', 293, 6375, 'r', 7349, 'Y', '7619', '2605', '923', '1605', 'T', '5689', 'h', 'U']
Output: 7619, 2605, 923, 1605, T, 5689