In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9059, 'f', 8359, 'S', 4935, 'N', 8905, 8129, 'w', 3791, 'Q', 1667, 'N', 'W', 557, 3655, 'F', 4981, 21, '9617', '5821', '1297', 'A', 'H', '1737', '9503', '7181', '1369', 'K', 'q', 'p', '3885', '2505', 'M', 'r', 's', '9061', 'V', 's', 'd', 'm', 'Q', 'z', 'O', 6987, 437, 9967], ['L', 2213, 'p', 1893, 'j', 8675, 'M', 6491, 8257, 'h', '9617', '5821', '1297', 'A', 'H', '1737', '9503', '7181', '1369', 'K', 'q', 'p', '3885', '2505', 'M', 'r', 's', '9061', 'V', 'h', 'M', 8973, 4349, 'B', 'Q', 'z', 3423, 'K', 1259, 'Z']