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

Example Input: [7855, 367, 8647, 9917, 9089, 'U', 5329, 'V', 9419, 3843, 'M', '7745', 'N', 'B', 'm', 'V', 'q', '449', '7315', 'd', '4821', '1535', '2733', '713', '9271', 'Y', '5605', '8443', '6643', 'K', 'D', 'D', 7465, 'M', 'T', 3699, 'b', 8885, 'L', 'k'], ['p', 9677, 'R', 23, 1797, 2241, 4425, 1705, 'Z', 'C', 2803, 'S', 'N', 911, 567, 2169, 'k', '7745', 'N', 'B', 'm', 'V', 'q', '449', '7315', 'd', '4821', '1535', '2733', '713', '9271', 'Y', '5605', '8443', '6643', 'K', 'W', 'J', 3419]
Example Output: 7745, N, B, m, V, q, 449, 7315, d, 4821, 1535, 2733, 713, 9271, Y, 5605, 8443, 6643, K

Example Input: ['M', 6637, 'd', 'D', 8611, 'U', 'm', 'y', 8085, 'M', 'W', 4845, 'l', 2477, 'f', 'B', 's', 'D', '7597', 'S', '2907', 'o', '1905', 'p', 'S', 'C', 'S', '6403', 'D', 'V', '5265', 'L', 'D', '6031', '2585', '7087', '3941', '573', 'c', 'b', 9083, 9449, 7629, 5633, 3843, 'R', 9421, 2693, 'M', 'b', 3739, 'l', 333], [6017, 'W', 2775, 'W', 4759, 'W', 'q', 'k', 'f', 4299, 5523, 'E', 5391, 'd', 2611, 'l', 5849, 9603, 3831, 'D', '7597', 'S', '2907', 'o', '1905', 'p', 'S', 'C', 'S', '6403', 'D', 'V', '5265', 'L', 'D', '6031', '2585', '7087', '3941', '573', 'o', 4621, 'N', 'c', 'R', 'V', 'p', 'm', 7625, 9815, 'b', 8449]
Example Output: D, 7597, S, 2907, o, 1905, p, S, C, S, 6403, D, V, 5265, L, D, 6031, 2585, 7087, 3941, 573

Example Input: ['Y', 3139, 'C', 'G', 'y', 1155, 'b', 'i', 'Q', 'p', '2431', 'O', 'n', '6495', '2389', 'c', '925', '2407', '3985', '7945', 'n', 'n', 3073, 'm', 'y', 'V', 'p', 9923, 'q', 6203, 'W'], ['b', 'l', 19, 8607, 'Q', 'p', '2431', 'O', 'n', '6495', '2389', 'c', '925', '2407', '3985', '7945', 'n', 'M', 'f', 6469, 4579, 911, 'f', 'e']
Example Output:
Q, p, 2431, O, n, 6495, 2389, c, 925, 2407, 3985, 7945, n