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

Input: Consider Input: [6211, 8013, 7837, 3385, 'z', 7301, 'D', 'Y', 'Q', 'Y', 'W', '473', '9037', 'K', 'V', '7669', 'R', '6605', 'I', 'k', 5831], ['A', 'N', 'I', 4579, 'R', 'P', 4559, 3977, 'Y', 'W', '473', '9037', 'K', 'V', '7669', 'R', '6605', 'D', 7909, 'x']

Output: Y, W, 473, 9037, K, V, 7669, R, 6605


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: [4715, 'P', '725', 'p', 'Y', 'p', 'z', '4921', '6983', 'v', '8435', 'p', 1027, 'I', 239, 9803, 2731, 657, 5115, 8977], ['f', 'X', 'f', 'm', 'c', 's', 211, '725', 'p', 'Y', 'p', 'z', '4921', '6983', 'v', '8435', 'Z', 'i', 7911, 4057, 1511, 7105, 'Q', 3805]


Output: 725, p, Y, p, z, 4921, 6983, v, 8435