In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['g', 6121, 277, 'e', 7581, 1091, 's', 'h', 'A', 'n', '9739', 'G', '8793', '3973', 'i', '8603', 'N', '4669', '9791', '1335', '6065', '5489', 'R', 'J', 'g', 'g', '4899', 'a', '5535', '8505', '6503', 'U', 'i', 'L', 'u', 'p', 3741, 'H', 'c', 535, 6341], [1053, 41, 5187, 2167, 'z', 'x', 'n', 'r', 'd', 'V', 4719, 4409, 7161, 'h', 'A', 'x', 6091, 'A', 'N', 'Q', 'Y', 'J', 'x', 's', 'h', 'A', 'n', '9739', 'G', '8793', '3973', 'i', '8603', 'N', '4669', '9791', '1335', '6065', '5489', 'R', 'J', 'g', 'g', '4899', 'a', '5535', '8505', '6503', 'U', 'i', 'L', 'l', 't', 'Q', 'r', 3925, 6205, 917, 7235, 'b', 'K', 3945, 'u', 4647]