In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2347, 205, 'D', 5973, 6665, 'D', 'b', 447, 2543, 6403, 7519, 'n', 'd', 'k', 551, 8343, 'n', 'n', 'Z', '223', '6747', 'k', 'l', '8999', 'i', '4175', '1701', 'P', 'j', '7619', 'k', 'V', '9769', 'o', '285', '4699', 'W', 827, 'S', 4207, 'U', 4677, 'r', 'e', 9419, 'v', 9395, 7621, 6963, 2563, 3007, 8235, 6745], ['i', 9683, 'A', 'Y', 'j', 'F', 'P', 9793, 551, 'd', 'F', 'X', 'O', 5137, 2375, 5919, 'j', 'n', 'Z', '223', '6747', 'k', 'l', '8999', 'i', '4175', '1701', 'P', 'j', '7619', 'k', 'V', '9769', 'o', '285', '4699', 'i', 'x', 'j', 4033, 'e', 'm', 3107, 2939, 473, 6393, 8227, 7497, 2497, 'x']