In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2791, 7465, 'u', 'u', '827', 't', 'Z', '479', 'a', '1005', 'N', 'v', 'I', 'e'], [629, 2409, 't', 'u', '827', 't', 'Z', '479', 'a', '1005', 'N', 'v', 'p', 'U', 7311, 'Q']