In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4859, 'Z', 'p', 'U', 839, 'W', 9159, 4017, 'J', 6627, 5233, 8141, 3837, 'v', 7919, '7125', '35', 'A', 'B', 'G', 'i', '7651', 'Q', 'e', '7153', 'b', '1249', '3637', '551', 'w', '6481', 'x', 5657, 'b', 2361, 'P', 'p', 4065, 1039], [6165, 2743, 'U', 8989, 4575, 7283, 'a', '7125', '35', 'A', 'B', 'G', 'i', '7651', 'Q', 'e', '7153', 'b', '1249', '3637', '551', 'w', '6481', 'J', 4141, 9691, 'j', 5843, 7751, 8449, 'V', 's', 'f', 'J', 'j', 6753, 1323, 'z', 5323]