You are given two **non-empty** linked lists representing two non-negative integers. The digits are stored in **reverse order**, and each of their nodes contains a single digit. Add the two numbers and return the sum as a linked list in reverse order.
You may assume the two numbers do not contain any leading zero, except the number 0 itself.
### Constraints
- The number of nodes in each linked list is in the range `[1, 100]`.
- `0 <= Node.val <= 9`
- It is guaranteed that the list represents a number that does not have leading zeros.
### Input Format
First line contains space-separated integers representing the first list.
Second line contains space-separated integers representing the second list.
### Output Format
Print the space-separated integers of the resulting sum list in reverse order.
Sample Cases
Example 1Sample Case
Input: 2 4 3
5 6 4
Output: 7 0 8
Example 2Sample Case
Input: 0
0
Output: 0
Example 3Sample Case
Input: 2
5
Output: 7
Example 4Sample Case
Input: 2 4 3
2 4 3
Output: 4 8 6
Constraints
Runtime Limit: 2000 ms per test batch
Memory Limit: 256 MB
Standard I/O stream reading
Official submissions are evaluated against hidden test cases on the server to verify time & memory complexity.