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

Input: Consider Input: ['p', 'C', 6777, 'P', 'd', 4619, 'l', '4333', '9491', 'V', '5745', 'P', '9255', '9439', '8461', 'D', 'L', 'w', 'R', 'U', 'C', 'G', 'm'], ['U', 5295, 'O', 'F', '4333', '9491', 'V', '5745', 'P', '9255', '9439', '8461', 'D', 'L', 'w', 'R', 'W', 'C', 'I', 'K', 5891]

Output: 4333, 9491, V, 5745, P, 9255, 9439, 8461, D, L, w, R


Input: Consider Input: [7155, 'R', 5819, 'a', 'C', 4603, 1003, 'W', 'N', 'Z', 'q', 'A', 'w', 'r', 'N', '6611', 'r', '8975', 'b', 'T', 'c', 2763, 'W', 'n', 7521, 4855, 9907, 'o', 'C', 1185, 'g'], [9921, 55, 5361, 'k', 'N', 'Z', 'q', 'A', 'w', 'r', 'N', '6611', 'r', '8975', 'b', 'T', 'h', 8665, 'O', 633]

Output: N, Z, q, A, w, r, N, 6611, r, 8975, b, T


Input: Consider Input: [4623, 7377, 3167, 5289, 'p', 'l', 'Z', 'p', 'q', 4071, 4987, 9059, 8683, 'i', 6537, '5053', 'N', 'v', '5601', '7851', '5267', 'h', '8745', '7589', 'R', 'w', 'A', '8999', 'r', 'Y', 'r', 'Y', 5939, 5469, 1877, 'H', 'w', 'U', 'V', 8677, 8599, 2965, 'b', 'J'], [7385, 9213, 885, 'j', 'T', 't', 'n', 'f', 'x', 6175, 9969, 'H', 'T', 'W', '5053', 'N', 'v', '5601', '7851', '5267', 'h', '8745', '7589', 'R', 'w', 'A', '8999', 'r', 'Y', 't', 519, 'g', 9851, 'u', 'g', 4273, 'L', 583, 5645, 'v', 3911]


Output: 5053, N, v, 5601, 7851, 5267, h, 8745, 7589, R, w, A, 8999, r, Y