In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2889, 'r', 1963, 4781, 'k', '2897', 'H', 'J', 'n', 'J', 'u', 's', 'R', '6829', 'A', '9203', 'u', 'l', '2239', 'h', 'O', 'e', '5209', 'P', 'g', '379', '4239', 'n', 'p', 'd', 9401, 'w', 'u', 6385, 1875, 1417, 'Z', 'h', 'p', 2043, 6917, 'R', 8091, 'c', 'N', 'i', 7897, 6143, 'G', 25], ['h', 's', 'n', 6895, 7901, 1421, 'P', 'k', '2897', 'H', 'J', 'n', 'J', 'u', 's', 'R', '6829', 'A', '9203', 'u', 'l', '2239', 'h', 'O', 'e', '5209', 'P', 'g', '379', '4239', 'W', 6457, 10001, 'B', 't', 6999, 'd', 945, 'e', 4821, 4189, 'l', 9445, 'e', 'a', 'n']