Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: ['j', 'i', 3949, 's', '8293', '5397', 'U', 'V', 'o', '7681', '3493', '4033', '279', 'n', 'p', '9003', 'f', 'o', '5123', 'J', 'y', 'B', 'I', 'C', '3863', '8709', 'j', '4889', 'l', 'T', '7819', 't', 'q', 'D', 5037, 'M', 7127, 'f', 6645, 427, 1383, 'M', 'w', 'w', 'e', 'c', 'z', 8243, 'C', 9181, 'j', 1713, 'M', 331, 3757, 3807, 'h', 6571, 4155], ['A', 'J', 't', 't', 8965, 'g', 'k', 3289, 7751, 'k', 9269, 6287, 8259, 'U', 9853, 7213, 'g', 3615, 'N', 'f', 'y', 6241, 707, 's', '8293', '5397', 'U', 'V', 'o', '7681', '3493', '4033', '279', 'n', 'p', '9003', 'f', 'o', '5123', 'J', 'y', 'B', 'I', 'C', '3863', '8709', 'j', '4889', 'l', 'T', '7819', 't', 'q', 'e', 4541, 'W', 'P', 8257, 3641, 'Z', 'N', 'V', 'X', 'Z', 'K', 9785, 'v', 'x', 7437, 'J', 'v']
Output:
s, 8293, 5397, U, V, o, 7681, 3493, 4033, 279, n, p, 9003, f, o, 5123, J, y, B, I, C, 3863, 8709, j, 4889, l, T, 7819, t, q