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

Example Input: [5599, 'o', 'p', 'T', 'o', 'p', 'B', 'M', '283', 'R', 'a', '9671', '8125', 'D', 'e', 'O', 'O', 3319], ['J', 2811, 7263, 'C', 4889, 477, 'o', 'p', 'B', 'M', '283', 'R', 'a', '9671', '8125', 'F', 3717, 'X', 1407, 2097, 'J', 'N', 'W']
Example Output: o, p, B, M, 283, R, a, 9671, 8125

Example Input: [3921, 181, 9775, 3681, 'n', 9145, 1931, 'j', 'G', 't', 7479, 487, 1837, 'C', 'u', 'G', 'V', '1647', 'T', 'O', 'Z', '431', 'H', 'o', '4139', 'J', 'L', '1139', 'X', 'K', '8985', '8247', '4001', 'o', 'A', 't', '7059', 'k', '5429', '8203', 'c', 'z', 'H', '1337', 'j', 3499, 'o', 3365, 3733, 3145, 'G', 545, 'B', 'I', 'N', 'Q', 1, 'k'], ['Y', 'R', 8925, 'A', 3997, 'E', 'b', 'G', 'x', 'G', 'V', '1647', 'T', 'O', 'Z', '431', 'H', 'o', '4139', 'J', 'L', '1139', 'X', 'K', '8985', '8247', '4001', 'o', 'A', 't', '7059', 'k', '5429', '8203', 'c', 'z', 'H', '1337', 'Y', 2903, 'c', 'S', 't', 7941, 4543, 4401, 'l', 'H', 685, 6115, 'L', 6117]
Example Output: G, V, 1647, T, O, Z, 431, H, o, 4139, J, L, 1139, X, K, 8985, 8247, 4001, o, A, t, 7059, k, 5429, 8203, c, z, H, 1337

Example Input: [5209, 9399, 6295, '5087', 'K', 'a', '855', '4333', 'T', 'm', 2657, 'n'], [2833, 'E', 3959, 991, 5183, '5087', 'K', 'a', '855', '4333', 'h', 8451, 'S', 'p', 9139]
Example Output:
5087, K, a, 855, 4333