In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['P', 'p', 6067, 2119, 'B', 'K', 'i', 'a', 'H', 'f', 1385, 835, 'a', 'a', 145, 'w', 1791, 'E', 4555, 'A', 'd', 'i', '9163', 'Y', '9991', 'T', 'w', 'w', '8973', 'O', 'd', '9831', 'l', 'm', 'p', '6703', '3037', '1911', 'm', '1651', 'L', '4875', 't', '1649', '9495', 'p', 'Y', 2265, 'I', 'j', 3949, 1407, 5421, 'K', 2751], ['I', 6267, 'e', 1863, 4703, 8205, 'f', 2499, '9163', 'Y', '9991', 'T', 'w', 'w', '8973', 'O', 'd', '9831', 'l', 'm', 'p', '6703', '3037', '1911', 'm', '1651', 'L', '4875', 't', '1649', '9495', 'X', 'g', 'k', 7203, 5991, 'G', 'b', 3215, 5407, 1847, 1107, 5925, 'U', 8397, 'F']