Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: ['N', 'j', 5135, 'P', 'P', '6073', 'Q', '2377', 'q', '3523', '211', '73', '1767', 'e', 'i', 'G', '805', 'z', '3049', '303', 'G', 'm', 'r', 'f', 'f', 6323, 'f', 4217, 7225, 'G', 9293, 'l', 9475, 161, 6229, 'A', 'T', 'K', 'X', 6831, 'F', 6263, 4467, 't'], ['E', 7939, 7143, 'D', 6587, 'S', 'U', 6139, 'm', 'M', 'D', 8961, 'P', '6073', 'Q', '2377', 'q', '3523', '211', '73', '1767', 'e', 'i', 'G', '805', 'z', '3049', '303', 'G', 'm', 'r', 'f', 'N', 7189, 985, 'x', 'R', 'e', 'n', 3495, 4149, 'C', 237, 5911, 1805, 5079, 5369, 'M', 't', 'A', 4455]
Output:
P, 6073, Q, 2377, q, 3523, 211, 73, 1767, e, i, G, 805, z, 3049, 303, G, m, r, f