In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9457, 'A', 'C', 5969, 'F', 'N', '10011', 'r', '5839', '79', 'J', 'U', '7513', '5373', '9891', 'm', '7961', '3623', 'N', '4847', 'E', 'p', 'T', 'x', 'i', 8869, 'I', 'a', 'K', 'E', 161, 'g', 'p', 'W', 6583, 5597, 'Q', 671], ['s', 'C', 'p', 'a', 4169, 'U', 'O', 'B', 'X', 'V', 's', 783, 8309, 'Y', 'D', 2921, '10011', 'r', '5839', '79', 'J', 'U', '7513', '5373', '9891', 'm', '7961', '3623', 'N', '4847', 'E', 'p', 'T', 'D', 'N', 'r', 'b']