In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['g', 'R', 'L', 'Q', 9365, 7977, 'u', 7131, '5381', 'a', '1233', 'E', '5983', 'X', 'e', '9843', '845', 'b', 'r', '1201', '5973', '8293', 'h', '397', 'l', 'x', 't', 'B', 'q', 2863, 'D', 8669, 'O', 1579, 7111, 'N', 7697, 'N', 'B', 5303, 'S'], [5021, 6725, 9405, 3497, 7033, 'G', 'Y', '5381', 'a', '1233', 'E', '5983', 'X', 'e', '9843', '845', 'b', 'r', '1201', '5973', '8293', 'h', '397', 'l', 'h', 'A', 1443, 7119, 5237, 7035, 'Y', 9009, 5713, 'J', 'b', 9631]