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

Example Input: [6529, 'i', 8343, 't', 'h', 5181, 'k', '5863', 'm', 'P', '9787', 'r', '1383', 'U', 'a', 'p', 'T', '1635', 'J', 'X', 'O', 'E', 'W', 625, 'O', 'm'], [4169, 8965, 6125, 'U', 'x', 'E', 7203, 'I', 81, 'P', 'r', 8581, 'k', '5863', 'm', 'P', '9787', 'r', '1383', 'U', 'a', 'p', 'T', '1635', 'J', 'X', 'O', 'v', 'f', 'q', 'b', 'm', 'f', 9239, 'b', 895, 703, 7809, 'E', 'l', 'c', 7915]
Example Output: k, 5863, m, P, 9787, r, 1383, U, a, p, T, 1635, J, X, O

Example Input: [4275, 8037, 5099, 'T', 2089, 'E', 5305, 'r', 'k', 9537, '57', 'v', '6257', '5991', '6455', 'a', '9565', '885', 'F', '2219', '2797', '9309', 'J', 'O', 2707, 8633, 8875, 9045, 'q'], [3221, 'f', 3167, '57', 'v', '6257', '5991', '6455', 'a', '9565', '885', 'F', '2219', '2797', '9309', 'J', 'C', 3665, 'm', 6901, 3441, 5601, 6983, 'i', 'z']
Example Output: 57, v, 6257, 5991, 6455, a, 9565, 885, F, 2219, 2797, 9309, J

Example Input: ['w', 'i', 'f', 7069, 'n', 'V', 'M', 5305, 9877, 'c', 't', 'D', 'c', 3603, 'm', '9145', '6077', 'Z', 'V', '1841', '9343', 'G', '7031', 'k', '2753', '5905', 'U', 'j', '6805', 'C', '7005', '873', '9479', '5131', 'A', 'i', '573', 'F', 't', 7717, 737, 4069, 'F', 3157, 5845, 'f', 7955, 'R', 8517, 2987, 'o', 'N', 611, 6545, 3907, 'z'], [1625, 'b', 'Q', 'X', '9145', '6077', 'Z', 'V', '1841', '9343', 'G', '7031', 'k', '2753', '5905', 'U', 'j', '6805', 'C', '7005', '873', '9479', '5131', 'A', 'i', '573', 'F', 'r', 'Q', 7313, 2231, 'B', 'I', 4399, 'u', 5305, 7053, 'h', 'u', 'a', 5855, 9717, 4461, 3641, 2949, 7833, 'I']
Example Output:
9145, 6077, Z, V, 1841, 9343, G, 7031, k, 2753, 5905, U, j, 6805, C, 7005, 873, 9479, 5131, A, i, 573, F