In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[631, 8051, 'O', 5631, 'N', '2913', '8703', 'k', 'L', 'U', 'P', '2361', 'c', '3895', 'd', 'a', 'L', '5085', 'R', '9529', 'G', '6671', 'V', '7877', 'H', 6641, 63, 6861, 'A', 'z', 789, 'p', 'e', 'v', 'Y', 1783, 7451, 3775, 3083, 'Q'], [9505, 'L', 5255, '2913', '8703', 'k', 'L', 'U', 'P', '2361', 'c', '3895', 'd', 'a', 'L', '5085', 'R', '9529', 'G', '6671', 'V', '7877', 'Y', 943, 'N', 8609, 'R', 'Z', 3411, 8895, 2785, 3563, 'j', 5183, 'Z']