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

Example Input: ['X', 8541, 'z', 'A', '3985', '181', 'k', '6327', '4303', 'Q', '6295', 'i', 'b', 'A', 'h', 'f', '4947', 'N', '4649', 'S', '1957', '2921', '7817', 'i', 'r', 3095, 't', 'i', 5121, 2147, 'O', 4145, 1995, 'E', 'a'], ['g', 'v', 491, 'F', 'Q', 8013, 5789, 6119, 'p', 8193, 'G', 6543, 'n', 'f', 5239, 'z', 'A', '3985', '181', 'k', '6327', '4303', 'Q', '6295', 'i', 'b', 'A', 'h', 'f', '4947', 'N', '4649', 'S', '1957', '2921', '7817', 'i', 'y', 9617, 4351, 'X', 9425, 3497, 6049, 8113]
Example Output: z, A, 3985, 181, k, 6327, 4303, Q, 6295, i, b, A, h, f, 4947, N, 4649, S, 1957, 2921, 7817, i

Example Input: [9577, 'v', 2595, 7901, 5205, 'Z', 2647, 'm', 't', 'h', '6209', '6325', 'B', '8879', '1137', '7837', '1819', 'S', '2249', 'i', 'L', '3729', 'i', 9823, 5731, 'd', 'u', 1461, 'Z', 9415, 541, 'T', 'A', 'G', 7275], [9731, 4061, 'V', 'k', 9589, 'v', 'k', 7917, 'x', 'B', 'z', 31, 'K', 'h', '6209', '6325', 'B', '8879', '1137', '7837', '1819', 'S', '2249', 'i', 'L', '3729', 'n', 'J', 'g', 8859, 195, 'l']
Example Output: h, 6209, 6325, B, 8879, 1137, 7837, 1819, S, 2249, i, L, 3729

Example Input: [797, 3071, 'I', 1485, 71, 1107, 'Y', 'o', '4683', 'k', 'K', '9219', 'J', 'B', 'T', '2325', 'K', '1103', '9243', 'R', 'y', 2463, 7611, 'c', 7855, 'l', 7769, 2175, 4069, 'v', 8407], [6165, 'F', 6859, 773, 'b', 6093, 2853, 7285, 'h', 'D', 'U', 'o', '4683', 'k', 'K', '9219', 'J', 'B', 'T', '2325', 'K', '1103', '9243', 'N', 'H', 2679, 2895, 2799, 'Y', 'S', 7101, 'w', 'h', 'Z']
Example Output:
o, 4683, k, K, 9219, J, B, T, 2325, K, 1103, 9243