In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4773, 'X', 5307, 4131, 'g', 'u', 's', 'J', '9155', 'O', 'J', 'f', 'g', '8089', '7037', 'H', 'z', '6341', 'E', '7061', 'A', '8725', 'c', 'k', 'U', 'k', '6433', '2193', '8815', 'n', 4901, 93, 311, 'p', 2353, 'J', 6891, 'p', 'O', 'f', 'n', 'F', 'E', 'J'], [4297, 1841, 'A', 7273, 6477, 565, 'g', 3631, 'f', 's', 'J', '9155', 'O', 'J', 'f', 'g', '8089', '7037', 'H', 'z', '6341', 'E', '7061', 'A', '8725', 'c', 'k', 'U', 'k', '6433', '2193', '8815', 'g', 3169, 5545, 4265, 8045, 'c', 'O', 't', 7783, 'B', 'w', 6607, 'Y', 2797, 'r', 'i', 2171, 'i']