Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: [7317, 3739, 'K', 8233, 9413, 6401, 2017, 7561, 7573, 8305, 'x', 'q', 6049, 'O', 's', 5611, 7591, 'j', '9033', 'c', 'y', '5343', '9387', '6977', '2895', 'a', 's', '4423', '1071', 'a', 'j', '767', 'F', '7405', '4837', 'r', 'j', '9869', '8093', '8975', 't', 5215, 189, 'q', 'N', 'd', 5879, 'N', 'd', 'q', 4587, 'k', 5725, 1007, 7361], [7759, 9599, 1203, 'N', 'U', 1211, 9263, 's', 3835, 8411, 4549, 2071, 3925, 7517, 'q', 3831, 6883, 'm', 'm', 3029, 9757, 1199, '9033', 'c', 'y', '5343', '9387', '6977', '2895', 'a', 's', '4423', '1071', 'a', 'j', '767', 'F', '7405', '4837', 'r', 'j', '9869', '8093', '8975', 'x', 'y', 7405, 4561, 'x', 'e', 1729, 9173, 'L', 8183, 3807, 3471, 'V', 567, 1159, 349, 3519, 'r', 'r']
Output:
9033, c, y, 5343, 9387, 6977, 2895, a, s, 4423, 1071, a, j, 767, F, 7405, 4837, r, j, 9869, 8093, 8975