In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['S', 245, 'O', 'C', 3627, 8463, 2209, 'S', 1411, 'l', 'H', 4653, 149, 8159, 'c', 'Q', 6069, 7097, 3571, 'r', '7949', '5393', 't', '8463', '4323', '429', '2795', 'o', '5455', 'j', 'H', 'n', 'S', '263', 'N', 'Q', '4093', 'L', 'q', 'O', 'p', 7649, 2967], ['i', 'H', 4841, 7467, 'Y', 's', 2359, 'Z', 'd', 'T', 1081, 4781, 1439, 3839, 79, 'P', 7373, 'E', 6967, 'r', '7949', '5393', 't', '8463', '4323', '429', '2795', 'o', '5455', 'j', 'H', 'n', 'S', '263', 'N', 'Q', '4093', 'L', 'q', 'd', 6767, 'K', 9245, 9509, 'T', 6925, 'G', 977, 'z', 'A', 3977]