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

Example Input: ['s', 1831, 3659, 885, 3421, 'S', 9363, 'p', 'Q', 1071, 7201, 6077, 6535, 'o', 3137, 'M', 'D', 'G', '427', 'U', '8051', '7119', '4521', 'y', '2607', '7041', '4119', '9611', '555', 'B', '9969', 'x', 'E', '475', '4687', '6641', 'H', '2071', 'I', 'G', 9115, 'S', 5257, 'X', 3061, 1941, 1875, 5597, 2759, 8795, 6655, 5867, 'M', 6725, 5417, 2145, 'a', 1387, 'h'], [1397, 'J', 'g', 'M', 'D', 'G', '427', 'U', '8051', '7119', '4521', 'y', '2607', '7041', '4119', '9611', '555', 'B', '9969', 'x', 'E', '475', '4687', '6641', 'H', '2071', 'R', 1233, 'J', 'M', 8625, 't', 'S', 4605, 5553, 'm', 5307, 'V', 4147]
Example Output: M, D, G, 427, U, 8051, 7119, 4521, y, 2607, 7041, 4119, 9611, 555, B, 9969, x, E, 475, 4687, 6641, H, 2071

Example Input: [5189, 6517, 7263, 3907, 'I', 7869, 8561, 'M', 'X', 1055, 'N', 533, 9903, 'p', 5241, 'L', 4649, 'R', 'G', '3873', 'o', '4565', 'I', '9949', 'k', 'H', 'o', 'M', '7819', 'q', '3397', '739', '9863', '4743', 'n', '8999', 'G', '1411', 'L', 't', 'm', 'k', 6041, 'L', 'V', 9697, 7967, 't', 'L', 'i'], [1055, 2831, 3023, 8711, 'E', 6059, 'v', 'E', 'M', 4133, 'Q', 249, 'Q', 5195, 5607, 'G', '3873', 'o', '4565', 'I', '9949', 'k', 'H', 'o', 'M', '7819', 'q', '3397', '739', '9863', '4743', 'n', '8999', 'G', '1411', 'Q', 8961, 5471, 613, 4235, 'g', 'N', 9513, 9767, 'j', 't', 'I']
Example Output: G, 3873, o, 4565, I, 9949, k, H, o, M, 7819, q, 3397, 739, 9863, 4743, n, 8999, G, 1411

Example Input: ['i', 'e', 5295, 9429, 335, 'S', 'k', 9025, 'Y', 3527, 1255, 'C', 2609, 'z', 'J', 'P', 5931, 'y', 'S', 'u', '2911', '5183', '2397', 's', 'E', 'q', '8441', '5547', '6907', '1977', '6759', 'y', '9447', '3999', 'I', 'O', 'J', '1047', '7691', '7609', 'a', 'E', 'l', 'X', 9893, 'I', 6725, 81, 'i', 3029, 'q', 'R', 'm', 'h', 7931, 'R', 'G', 2065, 725], [5141, 1763, 6703, 879, 'C', 2335, 10005, 'b', 1721, 'A', 'y', 7387, 7537, 7205, 6427, 'N', 'u', '2911', '5183', '2397', 's', 'E', 'q', '8441', '5547', '6907', '1977', '6759', 'y', '9447', '3999', 'I', 'O', 'J', '1047', '7691', '7609', 'a', 'E', 'T', 4137, 5817, 3759, 'h', 251, 6293, 6211, 'Y', 'y']
Example Output:
u, 2911, 5183, 2397, s, E, q, 8441, 5547, 6907, 1977, 6759, y, 9447, 3999, I, O, J, 1047, 7691, 7609, a, E