In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[47, 5007, 'y', 'w', 'e', 's', 's', 'j', '1429', 'F', 'M', 'V', 'q', 'C', '887', 'l', 'P', 'Y', 'Y', 'h', 'G', 'e', 2611, 3147, 7033, 2447, 8239, 4005, 5411, 'm', 7777, 3599], ['a', 'A', 6785, 'a', 4775, 'j', 's', 's', 'j', '1429', 'F', 'M', 'V', 'q', 'C', '887', 'l', 'P', 'Y', 'Y', 'U', 1061, 'j', 'X', 5677, 7951]