In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['p', 4303, 6113, 'Z', 'f', 2991, 'B', 'Y', 'A', 41, 789, 1065, 'U', 'j', '8335', '6009', '5477', 'R', 'm', 'y', 'L', 'i', '2803', '6887', '5715', '2065', 'T', '10005', 'f', '5707', 'R', '6817', 'l', 'u', 'b', 4713, 73, 'S', 'u', 6937, 7907], ['H', 6141, 1617, 'H', '8335', '6009', '5477', 'R', 'm', 'y', 'L', 'i', '2803', '6887', '5715', '2065', 'T', '10005', 'f', '5707', 'R', '6817', 'l', 'u', 'G', 'w']