Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: ['F', 'J', 7663, 613, 7145, 'k', 'H', 1989, 9141, 'j', 5625, 'i', 's', 'q', '4467', 'H', '5435', 'H', '6767', 'o', 'A', '1823', '1241', '977', '8743', '9903', 'h', 'f', '3991', '7371', '2301', 'J', 'O', 'E', 'p', 'V', '213', 'o', 8483, 'n', 'R', 1749, 'i', 9101, 'C', 3035], ['R', 1699, 265, 'V', 3239, 'V', 1385, 9767, 7275, 7565, 'Y', 'i', 's', 'q', '4467', 'H', '5435', 'H', '6767', 'o', 'A', '1823', '1241', '977', '8743', '9903', 'h', 'f', '3991', '7371', '2301', 'J', 'O', 'E', 'p', 'V', '213', 'A', 'e', 1865, 'B', 6363, 'q']
Output:
i, s, q, 4467, H, 5435, H, 6767, o, A, 1823, 1241, 977, 8743, 9903, h, f, 3991, 7371, 2301, J, O, E, p, V, 213