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

Example Input: [605, 'W', 7189, 'X', '7897', '5823', 'P', '9001', 'J', 'r', 2595], ['z', 'W', '7897', '5823', 'P', '9001', 'J', 'Z', 'w']
Example Output: 7897, 5823, P, 9001, J

Example Input: [431, 4017, 'R', 'a', 'F', '9581', 'Y', 'f', 'z', 'b', 1235], [4115, 'u', 'g', 'f', 2455, 'a', 'F', '9581', 'Y', 'f', 'z', 'm', 7245, 'I', 7021]
Example Output: a, F, 9581, Y, f, z

Example Input: [6765, 2217, 'A', 929, 7975, 'x', 'N', 7059, 4863, 'I', 'O', 'F', 1265, 'i', 'j', '2185', 't', 'j', 'd', 'C', '6089', 'p', '6175', 'F', '785', 'k', '4043', 'r', 'v', 'h', 'N', 's', '3373', '1579', 'f', 'W', 'F', 'W', 6123, 'c', 4491, 'O', 'B', 'R'], [3779, 'P', 'Q', 'E', 8645, 'o', 1533, 1465, 's', 'w', 1909, 8835, 2715, 9965, 7131, 397, 2555, '2185', 't', 'j', 'd', 'C', '6089', 'p', '6175', 'F', '785', 'k', '4043', 'r', 'v', 'h', 'N', 's', '3373', '1579', 'u', 'g', 'F', 7077, 'e', 'D', 'x', 9003, 't', 'b']
Example Output:
2185, t, j, d, C, 6089, p, 6175, F, 785, k, 4043, r, v, h, N, s, 3373, 1579