In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['h', 361, 6845, 'H', 9249, 'w', 103, 9775, 'L', 'g', 4881, 'M', 7091, 4791, 's', 'Y', '7639', 'B', '6409', 'm', '7337', 'I', 'p', '2723', 'W', 'G', 'R', 'Y', 'D', 'D', 'V', 'D', 'c', '3389', 'J', 'd', 'o', 'm', 7389, 't', 'h', 'b', 'S', 'b', 9949, 'N', 9931, 7105, 9163, 9915], [5859, 3, 9361, 3619, 'm', 2027, 8517, 'h', 1771, 'P', 'B', 'F', 'h', 'R', 6581, '7639', 'B', '6409', 'm', '7337', 'I', 'p', '2723', 'W', 'G', 'R', 'Y', 'D', 'D', 'V', 'D', 'c', '3389', 'J', 'd', 'o', 'I', 'r']