In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5363, 'h', 3845, 6217, 2315, 'm', 'O', 5573, 4601, 7145, 9561, 'q', 'r', 'T', '619', 'r', '8913', '7507', '4527', '9313', '7813', '4297', '9581', '561', 'L', 'F', '9357', '5175', '1853', 'K', 'a', '8575', 'V', '8283', 'J', '5341', 'Y', 9545, 6705, 6445, 'X', 7149, 'B', 9079, 'P', 9337, 3641, 3731, 4837, 't'], [4089, 'f', 'A', 'q', 477, '619', 'r', '8913', '7507', '4527', '9313', '7813', '4297', '9581', '561', 'L', 'F', '9357', '5175', '1853', 'K', 'a', '8575', 'V', '8283', 'J', '5341', 'q', 't', 'g', 'T', 8621, 'Z', 'L', 'd', 9207, 5705, 'Z', 'l', 'I', 'Z', 1141, 9949, 867, 'H', 'E', 3605, 3617, 331]