Update TwoSum.java

Submission Result: Runtime Error

Last executed input:	[5,75,25], 100 L 31

Submission Result: Wrong Answer

Input:	[5,75,25], 100
Output:	1, 1
Expected:	2, 3