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

Example Input: ['Y', 'l', 6297, 9773, '6077', 'B', 'x', 'C', '7371', '5635', '9551', '8421', '6587', 'Y', 'L', 'i', '1275', 'J', 's', 'C', '10005', 'x', '9473', 'I', 'T', 'O', 2961, 6077, 'L', 5737, 99, 2363, 'A', 'I', 'E', 5649, 4127, 'm', 3085], ['g', 8141, 'Y', 7433, 1501, 2423, 'P', 8359, 8589, 7265, 265, 'N', 'J', 8251, 'f', '6077', 'B', 'x', 'C', '7371', '5635', '9551', '8421', '6587', 'Y', 'L', 'i', '1275', 'J', 's', 'C', '10005', 'x', '9473', 'I', 'K', 9051, 'Q', 'M']
Example Output: 6077, B, x, C, 7371, 5635, 9551, 8421, 6587, Y, L, i, 1275, J, s, C, 10005, x, 9473, I

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: ['i', 'm', 'z', 2055, 8967, 'E', 663, 'W', '3937', 'o', '8009', '5281', '1783', '1121', 'W', 'L', 9649, 8627, 'r'], [8707, 6529, 'W', '3937', 'o', '8009', '5281', '1783', '1121', 'W', 'P', 'D', 1577, 'S', 6661, 7059]
Example Output:
W, 3937, o, 8009, 5281, 1783, 1121, W