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

Ex Input:
[2133, 27, 's', 'Q', 'K', 'Z', 'x', 'M', 5943, 'K', 'c', 1847, 'u', 'J', 'Q', 1095, 1771, 799, 5957, 'd', 'U', 5967, 665, 'p', 'a', 'i', '4429', '5399', 'o', '2039', 'G', 'Y', '9783', '8461', 'R', 'J', 'w', '8451', '3825', '713', '8185', '3599', '9927', 'T', '367', '4257', '2311', 'w', '4685', '265', 'D', '6053', 'Z', 'L', '1519', 'r', 2363, 'x', 'u', 7701, 'n', 'E', 3465, 3433, 4335, 9033, 'H', 3617, 9021, 'K', 5843, 'W', 'e', 2511, 'B', 'H', 'Q', 'W', 'p', 'y', 'H', 'I', 'G', 'i', 'E'], ['I', 'h', 'w', 733, 'U', 3553, 'C', 7797, 9931, 'r', 7375, 'n', 'i', '4429', '5399', 'o', '2039', 'G', 'Y', '9783', '8461', 'R', 'J', 'w', '8451', '3825', '713', '8185', '3599', '9927', 'T', '367', '4257', '2311', 'w', '4685', '265', 'D', '6053', 'Z', 'L', '1519', 't', 5291, 'h', 'A', 6401, 2195, 't', 563, 3267, 'W', 4239, 6325, 5313, 'h', 5973, 'Y', 'F', 5895, 161, 'O']

Ex Output:
i, 4429, 5399, o, 2039, G, Y, 9783, 8461, R, J, w, 8451, 3825, 713, 8185, 3599, 9927, T, 367, 4257, 2311, w, 4685, 265, D, 6053, Z, L, 1519


Ex Input:
['i', 6139, 'B', 'z', 'A', 7029, 'r', 'l', 'N', 'J', '7029', 'l', 'm', 'F', 1251], ['d', 9233, 543, 5455, 8707, 'r', 'l', 'N', 'J', '7029', 'l', 'm', 'r', 4751]

Ex Output:
r, l, N, J, 7029, l, m


Ex Input:
[8105, 'B', 4163, 31, 'y', 'i', 8189, 9313, 'z', 4919, '391', 'J', 'N', 'x', '6843', '701', '3343', '1933', '905', 'h', 'C', '2977', '4315', '9557', 'T', '6073', 'R', '7819', 'G', 'w', 9931, 817, 2161, 7053, 'e', 'e', 'F', 9761], [4345, 'd', 383, 1853, 'W', 9961, 6373, 'g', 7399, 'f', 'm', '391', 'J', 'N', 'x', '6843', '701', '3343', '1933', '905', 'h', 'C', '2977', '4315', '9557', 'T', '6073', 'R', '7819', 'v', 'o', 'C']

Ex Output:

391, J, N, x, 6843, 701, 3343, 1933, 905, h, C, 2977, 4315, 9557, T, 6073, R, 7819