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: [5797, 'G', 6727, 4175, 8563, 2639, 5579, 6333, 9283, 3295, 'k', 6823, 'u', 9885, '2461', '9743', '2157', 'y', '6553', 'e', 'w', '6057', 'D', 'K', 'v', 'N', 'h', '2067', '3475', '605', '3617', '5623', 'Y', 'r', 'T', 8143, 5565, 8065, 'g', 'b', 'C', 'T', 8941, 4903], [1565, 6723, 'b', 'P', 's', 'y', 8927, 'h', '2461', '9743', '2157', 'y', '6553', 'e', 'w', '6057', 'D', 'K', 'v', 'N', 'h', '2067', '3475', '605', '3617', '5623', 'Y', 'r', 't', 'm', 'z', 7995, 6155, 'H', 3159, 'P', 8515, 1743, 8869, 'c', 'l', 9441, 7063, 1217, 'y']
Solution: 2461, 9743, 2157, y, 6553, e, w, 6057, D, K, v, N, h, 2067, 3475, 605, 3617, 5623, Y, r