In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1233, 'x', '5163', 'H', '3355', 'g', 'J', 'r', '4511', '1363', 'W', 'K', 'J', 3219], ['c', 'A', 603, 9593, 'a', 7085, 8281, '5163', 'H', '3355', 'g', 'J', 'r', '4511', '1363', 'W', 'x', 'r', 'G']