/* program  sum.java to calculate the sum of two integers */

class Sum  {
	public static void main(String[] args) {
	int	first, second, sum;

	first = Integer.parseInt(args[0]);

	second = Integer.parseInt(args[1]);
	sum = first + second;
	System.out.println("sum = " + sum);
	}
}

/*
A string can be converted into integer like this also.

first = ( Integer.valueOf(args[0]) ).intValue() ;
*/

