Store the elements which are not divisible by two in stack2 .
else : NEW_LINE INDENT stack2 . append ( r ) NEW_LINE DEDENT n = n // 10 NEW_LINE while ( len ( stack1 ) > 0 and len ( stack2 ) > 0 ) : NEW_LINE