In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6373, 2377, 8751, '4799', '4639', 'H', '5447', 'n', 'q', 'C', 'D', 'j', 'C', 'J', '1579', 'q', '6135', '6267', '7097', 'm', '5405', '10021', 'e', 'J', 'B', 'V', 2951, 'p'], [7881, 5003, 'x', 6177, '4799', '4639', 'H', '5447', 'n', 'q', 'C', 'D', 'j', 'C', 'J', '1579', 'q', '6135', '6267', '7097', 'm', '5405', '10021', 'e', 'U', 7377, 1929, 'h']