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

Example Input: ['G', 5429, 'G', 'h', 'i', 4385, 'l', 'w', '4889', 'j', 'i', 'P', '1977', '9281', 'N', 's', 'y', '3049', 'E', 'w', 'l', 6255, 9841, 7339], [5463, 'Y', 1105, 'Z', 6887, 'G', 9653, 'v', 6241, 1865, '4889', 'j', 'i', 'P', '1977', '9281', 'N', 's', 'y', '3049', 'E', 'w', 't', 7945, 'T', 'l', 6697, 'k', 'J', 57]
Example Output: 4889, j, i, P, 1977, 9281, N, s, y, 3049, E, w

Example Input: [4301, 2885, 'X', 8841, 3911, 'l', 4267, 'M', 3861, 8005, 'm', '4475', 'b', '9275', 'w', '1043', '2027', '1', 'M', 'y', 'W', '3565', '8755', '6253', '5453', 'W', 'Z', 'f', 7767, 5683, 'l', 8029, 'C', 5169, 'F', 'b', 5421, 's', 'q', 203, 4903, 9957, 9367], [4131, 'w', 3479, 'z', 'm', 9829, '4475', 'b', '9275', 'w', '1043', '2027', '1', 'M', 'y', 'W', '3565', '8755', '6253', '5453', 'W', 'Z', 'v', 1275, 3867, 6831, 6147, 'K']
Example Output: 4475, b, 9275, w, 1043, 2027, 1, M, y, W, 3565, 8755, 6253, 5453, W, Z

Example Input: [2701, 51, 'm', 'c', 4819, 'G', 6781, 'M', 'F', '6687', '6957', 'V', 'z', '7727', 'M', '2909', 'J', 'U', 'k', 'S', 'G', '3067', 'G', 'U', '9435', '3821', 'F', 'j', 'F', '8687', '4163', 'T', '9641', 'q', 2087, 'r', 6857, 9935, 6049, 'm', 3861, 4647, 'f', 'G', 7155, 'E', 1557, 'k', 'g', 5617, 'j', 'E', 'M', 621, 'A', 4303], ['l', 3883, 'G', 3369, 5331, 'E', 'F', 6959, 'Y', '6687', '6957', 'V', 'z', '7727', 'M', '2909', 'J', 'U', 'k', 'S', 'G', '3067', 'G', 'U', '9435', '3821', 'F', 'j', 'F', '8687', '4163', 'T', '9641', 'b', 'O', 'I', 'S', 4389, 'Q', 'H', 1]
Example Output:
6687, 6957, V, z, 7727, M, 2909, J, U, k, S, G, 3067, G, U, 9435, 3821, F, j, F, 8687, 4163, T, 9641