In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['G', 'N', 'f', 5325, 1747, 'f', 9571, 8161, 'q', 5541, 'd', 6215, 3, 3749, 'e', 4271, 4833, 9667, 4653, '5533', 'V', 'e', 'E', '5355', 'K', '6233', 'M', '745', 'P', '5965', '357', '6397', '963', 'p', 'F', '3717', 'U', '251', 'x', 'f', 'P', '2435', 'm', '3293', 'Q', 's', 'x', 'z', 'r', 't', 6017, 8277, 5087, 'c', 'l', 'g', 2539, 'V'], [8861, 3171, 'L', 'f', 6137, 'Z', 'd', 'p', 701, '5533', 'V', 'e', 'E', '5355', 'K', '6233', 'M', '745', 'P', '5965', '357', '6397', '963', 'p', 'F', '3717', 'U', '251', 'x', 'f', 'P', '2435', 'm', '3293', 'Q', 's', 'x', 'g', 1371, 6041, 279, 'B', 's']