Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: ['A', 'C', 'f', 3415, 1783, 'l', 6129, 'N', 7381, 'U', 789, 'w', 4849, 3151, 'U', 'n', 'L', 1475, '6005', 'c', '5219', '913', 'I', 'R', 'c', '8621', 's', '9421', '6697', 'O', '5573', '905', 'v', 'o', '7291', '3489', 'Y', '5945', 'P', '2239', '6653', '4561', '6107', 'L', '4799', 'y', '529', 'y', 'w', 'd', 9581, 2559, 'L', 5841, 'd', 2285, 'x', 7477], ['r', 2905, 9853, 3781, 'K', 8061, 'v', 'x', 4057, 3381, 'k', 4385, 'p', 6375, 'j', 'F', 'h', 'J', 'n', 'p', 3829, 4105, 'O', 599, 'W', 'D', 'Z', 'H', '6005', 'c', '5219', '913', 'I', 'R', 'c', '8621', 's', '9421', '6697', 'O', '5573', '905', 'v', 'o', '7291', '3489', 'Y', '5945', 'P', '2239', '6653', '4561', '6107', 'L', '4799', 'y', '529', 'c', 'F', 'q', 'y', 135, 4043, 7567, 'l', 'G', 'Y', 'k', 2091, 'r', 2489, 7953, 'Q', 6597, 'V', 'j', 'e', 7101, 'C', 'b', 1081, 'q', 8639, 873, 9721, 4879]
Output:
6005, c, 5219, 913, I, R, c, 8621, s, 9421, 6697, O, 5573, 905, v, o, 7291, 3489, Y, 5945, P, 2239, 6653, 4561, 6107, L, 4799, y, 529