In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

[5459, 4195, '229', '8815', '5339', '8385', '5977', 'e', 't', 'i', 'D'], ['u', 'e', '229', '8815', '5339', '8385', '5977', 'Q', 8499, 'a']
229, 8815, 5339, 8385, 5977