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

Example Input: [5705, 4661, 4953, '6779', 'z', 'I', 'f', 'm', '3721', 'U', 'F', '2069', '1831', 'H', '2683', '139', '3889', '1427', '3339', 'T', '9517', '9753', '9041', '7995', '8657', 'q', '4753', '2789', 'C', 'a', 'W', 'a', 'R', 6843, 'D'], ['i', 475, 3657, 'k', 'P', 3397, 7147, 8055, 8965, 'X', 'g', 5421, 'e', 6979, 'P', 'G', 'c', 489, 9409, 9473, 'y', 6959, '6779', 'z', 'I', 'f', 'm', '3721', 'U', 'F', '2069', '1831', 'H', '2683', '139', '3889', '1427', '3339', 'T', '9517', '9753', '9041', '7995', '8657', 'q', '4753', '2789', 'C', 'a', 'h', 'c', 'g', 'C', 4493, 'R', 6359, 3315, 8949]
Example Output: 6779, z, I, f, m, 3721, U, F, 2069, 1831, H, 2683, 139, 3889, 1427, 3339, T, 9517, 9753, 9041, 7995, 8657, q, 4753, 2789, C, a

Example Input: [3535, 10023, 'g', 'B', 'E', 'p', 'K', 'y', 1187, 5353, 8779], [1169, 981, 'B', 'E', 'p', 'K', 'D', 'h', 4145, 'h']
Example Output: B, E, p, K

Example Input: [4259, 'l', 989, 1997, 'K', 5783, 'w', 7679, 519, 3731, 613, '919', 'D', '5539', 'V', '987', 'h', '5763', 'E', 'e', '5007', 'V', '8157', 'q', 'S', '1285', '2367', '3641', '1853', 'e', 'P', 'W', 'b', 'K', 9459, 7969, 'e'], ['K', 2529, 3869, 9057, 6701, 6557, 9639, 'g', 5189, 3967, 'I', '919', 'D', '5539', 'V', '987', 'h', '5763', 'E', 'e', '5007', 'V', '8157', 'q', 'S', '1285', '2367', '3641', '1853', 'k', 'B', 'M', 'G', 8961, 4965, 'I']
Example Output:
919, D, 5539, V, 987, h, 5763, E, e, 5007, V, 8157, q, S, 1285, 2367, 3641, 1853