In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5053, 6391, 'O', 'J', 'O', 441, 'B', 'P', 'f', 'b', 'g', 1603, 4761, 'O', 'x', 'M', 2651, 411, 'B', 'U', 'V', '6579', '7249', 'O', '5175', '3327', '5485', 'g', 'u', '257', 'i', '4573', 'n', '6763', '7615', 'L', 'X', 'c', 't', 'j', '3539', '5397', 'b', 2035, 4533, 'i', 'M', 9607, 4297, 1263], ['Y', 5619, 9897, 6617, 4507, 5839, 'Y', 5263, 4683, 'o', 4975, 583, 3553, 'c', 5087, '6579', '7249', 'O', '5175', '3327', '5485', 'g', 'u', '257', 'i', '4573', 'n', '6763', '7615', 'L', 'X', 'c', 't', 'j', '3539', '5397', 'm', 4791, 2753, 5273, 9975]