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

Example Input: ['b', 'Z', 'n', 'O', 'x', 'K', 'J', '5997', '8241', 'O', '9965', 'n', '6043', 'p', '8943', 'F', 'O', '2181', 'k', 833, 9001], [6221, 'H', 'w', 6543, 'o', 1523, 'W', 6091, 'T', 7021, 8161, 1111, 4653, 'x', 'K', 'J', '5997', '8241', 'O', '9965', 'n', '6043', 'p', '8943', 'F', 'O', '2181', 'j', 5791, 3573, 9639, 'a', 4089, 5045, 'e', 'i', 'S', 3157, 1767, 2199, 'P']
Example Output: x, K, J, 5997, 8241, O, 9965, n, 6043, p, 8943, F, O, 2181

Example Input: [6103, 'W', 'k', 931, 'r', 'v', 'w', 'X', '5537', '3209', '4831', 'R', '2093', 'U', 'b', 'w'], [9617, 'F', 3411, 'X', '5537', '3209', '4831', 'R', '2093', 'U', 'O', 9311, 5805]
Example Output: X, 5537, 3209, 4831, R, 2093, U

Example Input: ['C', 5133, 'A', 'F', 'S', 'k', 1059, 'k', 'Z', 5709, 4133, 9751, 'G', 'D', 203, 'c', 'A', 'g', 'J', 6667, 2761, '8581', 'N', 'Z', 'B', 'M', '1681', '8119', '1011', 'k', 'q', '3205', 'L', '889', 'a', '513', 'M', 'y', 's', '7595', 'u', '7115', '4913', '2189', '1817', '2533', '8413', '2491', 'q', 'i', 'k', 'k', 'O', 'i', 5451, 2919, 'L', 'C', 'Q', 'Q', 'e', 7945, 927, 1105, 'i', 'U', 'S', 7649, 'S', 3637, 1401, 'p', 3585], ['r', 'f', 461, 2401, 959, 9315, 'a', 5539, 459, 'k', 'd', 1305, 'y', 'v', 'B', 'R', 'L', 'M', 'R', 3197, 3773, '8581', 'N', 'Z', 'B', 'M', '1681', '8119', '1011', 'k', 'q', '3205', 'L', '889', 'a', '513', 'M', 'y', 's', '7595', 'u', '7115', '4913', '2189', '1817', '2533', '8413', '2491', 'q', 'i', 'T', 8511, 'k', 8393, 'j', 2031, 8623, 'H', 6941, 'w', 'e', 'J', 'J', 'X', 1143, 8691, 4175, 'C', 2039, 'i', 's', 'D', 5163, 'j', 857, 8765, 4071]
Example Output:
8581, N, Z, B, M, 1681, 8119, 1011, k, q, 3205, L, 889, a, 513, M, y, s, 7595, u, 7115, 4913, 2189, 1817, 2533, 8413, 2491, q, i