In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['J', 'G', 9149, 'l', 'G', 'x', 4239, 5811, 'Q', 3869, 427, 947, 's', '645', '1805', '6633', 'l', 'e', 'B', '3249', '1859', 'r', 'D', 'm', '2923', 'Z', 'G', 'a'], ['g', 'T', 'j', 'd', 9843, 6313, 'U', 2893, 7919, 'p', 3643, 's', '645', '1805', '6633', 'l', 'e', 'B', '3249', '1859', 'r', 'D', 'm', '2923', 'Z', 'e', 'm', 2501]