In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Example: [5797, 8817, '8297', 'b', 'U', 'b'], [5843, 8809, '8297', 'b', 'W', 'C']
Example solution: 8297, b
Example explanation: Here, '8297, b' is the longest common subsequence in both the input lists [5797, 8817, '8297', 'b', 'U', 'b'] and [5843, 8809, '8297', 'b', 'W', 'C'].

Problem: ['L', 6223, 2247, 6369, 2351, 85, 'X', 6889, 'W', 'h', 7161, 9157, 971, 3989, 3095, 'Q', 'K', '991', 'e', '5241', '2269', 'y', 'G', '2553', '2897', 'n', '2681', '5055', '597', '4051', '6851', 'r', 'R', '1775', 'G', '7177', 'F', 'Y', 'J', 'a', 'e', 7505, 2427, 6833, 3221, 'P', 1397, 5687, 8569, 4367, 'T', 9157, 'M', 'u', 'G', 1777], ['F', 1959, 'q', 'K', '991', 'e', '5241', '2269', 'y', 'G', '2553', '2897', 'n', '2681', '5055', '597', '4051', '6851', 'r', 'R', '1775', 'G', '7177', 'F', 'S', 2525, 6299]

Solution: K, 991, e, 5241, 2269, y, G, 2553, 2897, n, 2681, 5055, 597, 4051, 6851, r, R, 1775, G, 7177, F