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

Input: Consider Input: [7087, 4471, 'P', 'W', 'C', '6301', 'T', '6625', '9345', '4471', '4385', 'H', 'K', 'r', 'Z', 'O', 'y', 'm', 7683, 1493, 'F', 4293, 'z'], [1607, 8143, 'F', 5435, 8723, 'x', 'C', '6301', 'T', '6625', '9345', '4471', '4385', 'H', 'K', 'r', 'E', 1241]

Output: C, 6301, T, 6625, 9345, 4471, 4385, H, K, r


Input: Consider Input: [2087, 5665, 'W', 'H', 6711, '8181', 'q', '1949', 'j', '7351', 'g', 5827, 4893, 9173], [5187, 4249, '8181', 'q', '1949', 'j', '7351', 'w', 'Z', 'C', 3255]

Output: 8181, q, 1949, j, 7351


Input: Consider Input: ['l', 7409, 9193, 'o', 441, 7765, 'K', 'W', '2651', '4573', '521', '413', 'f', 'a', 'q', '6017', '5963', 'y', 'n', 'L', 7031, 8617, 8057, 'k', 'W', 2371, 'C', 9647], [2867, 'k', '2651', '4573', '521', '413', 'f', 'a', 'q', '6017', '5963', 'y', 'f', 2379, 'K', 'i']


Output: 2651, 4573, 521, 413, f, a, q, 6017, 5963, y