I have a question about combining lists, I really tried it, but that's so hard for me. I'm a newbie.
I have this kind of a list:
a={{{2,3},{1,2},{3,5}},{{1,9},{1,5},{1,7}},{{10,10},{10,10},{20,20}}}
I need this kind of result:
res={{{2,3},{1,2},{3,5},{10,10},{20}},{{1,9},{1,5},{1,7},{10,10},{20}}}
My list can have 1000 of elements...
I would be thankful for your help

{10,10},{20}in the output (twice) be grouped like that? – Jules Lamers Aug 22 '17 at 16:42a1= {{2,3},{1,2},{3,5}},{{1,9},{1,5},{1,7}} a2={{10,10},{10,10}} a3={{20,20}}
– Mudy Fa Aug 22 '17 at 16:49{{10,11},{12,13},{20,21}}rather than{{10,10},{10,10},{20,20}}? – jjc385 Aug 22 '17 at 16:52a1is not a list (missing{}s?), and your question does not involvea2anda3but rathera2~Join~a3... Could you be a bit more precise? – Jules Lamers Aug 22 '17 at 16:53{{10,11},{12,13},{20,21}}rather than{{10,10},{10,10},{20,20}}. As you've described it, it's unclear what should happen. If you're not interested in that case, then how about{{10,10},{15,15},{20,20}}? It's just not clear enough from the question (at least to me) what should happen in these cases. – jjc385 Aug 22 '17 at 16:59