Q: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['A', 'k', 'j', '4047', 'i', '2327', '8813', 'u', 't', 825, 9607], ['E', 'h', '4047', 'i', '2327', '8813', 'R', 5431]
A:
4047, i, 2327, 8813