Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: [7785, 8595, 4965, 'W', 6033, 713, 'N', 'z', 'V', '7465', '9327', '7043', 'o', 'E', 'N', '9751', '9541', '8791', '2895', '6271', 'Q', 'l', 857, 'g', 'n'], [3911, 'i', 7741, 'P', 'p', 'B', 'S', 'E', 9745, '7465', '9327', '7043', 'o', 'E', 'N', '9751', '9541', '8791', '2895', '6271', 2143, 7811, 7421, 'j', 'D', 'H', 875, 2951, 'Z']
Output:
7465, 9327, 7043, o, E, N, 9751, 9541, 8791, 2895, 6271