In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5521, 'U', 6875, 'N', 'U', 'T', 'l', 'c', '6497', '8031', '7711', '4977', 'N', '2897', 'm', 'v', '1443', 'W', 'm', 'C', 'v', 'i', '6277', 'e', '6769', 'r', 'j', 'G', 851, 8815, 'X'], ['i', 4959, 'D', 3383, 9409, 7543, 2069, 'Y', 3251, 7213, 553, 'B', 5763, 9727, 2439, 8229, 6865, '6497', '8031', '7711', '4977', 'N', '2897', 'm', 'v', '1443', 'W', 'm', 'C', 'v', 'i', '6277', 'e', '6769', 'r', 'j', 'a', 'U', 'G', 6207, 'Z', 6215, 5217, 'Y', 8123, 2599, 3171, 'V', 4153, 'v', 'C', 'a', 6913, 'W']