public static ListNode addTwoNumbers(ListNode l1, ListNode l2) {
		if (l1 == null || l2 == null)
			return null;
		int carry = 0;

		ListNode l3 = new ListNode((l1.val + l2.val) % 10);
		ListNode result = l3;
		carry = (l1.val + l2.val) / 10;
		System.out.println(l3.val);
		l1 = l1.next;
		l2 = l2.next;
		while (l1 != null || l2 != null) {
			int first = 0;
			int second = 0;
			if (l1 == null) {
				first = 0;
			} else {

				first = l1.val;
				l1 = l1.next;
			}
			if (l2 == null) {
				second = 0;
			} else {
				// System.out.println(l2.val);
				second = l2.val;
				l2 = l2.next;
			}
			int temp = first + second + carry;
			int value = temp % 10;
			carry = temp / 10;

			l3.next = new ListNode(value);
			l3 = l3.next;

		}
		System.out.println(carry);
		if (carry != 0)
			l3.next = new ListNode(carry);
		return result;
	}