In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[847, 8399, 8829, 5873, 1247, 4869, 'V', 'N', 'X', 'q', 'v', 'a', 'V', 'H', 'c', 5497, 6661, 'C', 1635, 2489, 'Y', 7371, 'i', 1603, 'L', 'S', '4887', 'm', 'e', 'C', 'v', '7711', 'a', 'A', '6815', '6149', 'P', 'f', '2645', 'A', '9789', '7629', '3965', '8653', 'n', '2165', '5581', 'O', 'Z', '1769', '9891', 'P', 'e', 8149, 3903, 'u', 'q', 'G', 'x', 'K', 'O', 6867, 'N', 8229, 3797, 1309, 'E', 'j', 'A', 'r', 2693, 's'], ['u', 'I', 'J', 'I', 8117, 2453, 'a', '4887', 'm', 'e', 'C', 'v', '7711', 'a', 'A', '6815', '6149', 'P', 'f', '2645', 'A', '9789', '7629', '3965', '8653', 'n', '2165', '5581', 'O', 'Z', '1769', '9891', 'P', 'k', 'p', 'm']