Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: [5545, 5507, 789, 'I', 'b', 6579, 2037, 9243, 9873, 'r', 'U', 'l', 'M', 's', 3429, 'O', 'A', 'T', 'K', 'U', '4427', 'Y', '3645', '3419', '6793', '7387', 'R', '4259', 'I', 'm', 's', '63', '5229', 'O', '2559', '879', 'N', '7879', 'z', 'F', 'h', 'v', '7821', '3713', '8415', '5661', 'n', 'V', 'b', 6793, 'l', 'N', 't'], [7799, 531, 1259, 8815, 'p', 'M', 'G', 'H', 'k', 7975, 'v', 8807, 'A', 7797, 4145, 'o', 1463, 'b', 8695, 9557, 'h', 'I', 2977, 9107, 'Y', 'T', 'K', 'U', '4427', 'Y', '3645', '3419', '6793', '7387', 'R', '4259', 'I', 'm', 's', '63', '5229', 'O', '2559', '879', 'N', '7879', 'z', 'F', 'h', 'v', '7821', '3713', '8415', '5661', 'n', 'Y', 3817, 'W']
Output:
T, K, U, 4427, Y, 3645, 3419, 6793, 7387, R, 4259, I, m, s, 63, 5229, O, 2559, 879, N, 7879, z, F, h, v, 7821, 3713, 8415, 5661, n