@@ -0,0 +1,713 @@
+// http://codeforces.com/problemset/problem/479/A%0A%0Aimport java.util.Scanner;%0Aimport java.util.TreeSet;%0A%0Apublic class Solution %7B%0A%09%0A%09public static void main(String%5B%5D args) %7B%0A%09%09Scanner read = new Scanner(System.in);%0A%09%09%0A%09%09int a = Integer.parseInt( read.nextLine() );%0A%09%09int b = Integer.parseInt( read.nextLine() );%0A%09%09int c = Integer.parseInt( read.nextLine() );%0A%09%09%0A%09%09TreeSet%3CInteger%3E possibleAnswers = new TreeSet%3CInteger%3E();%0A%09%09possibleAnswers.add( a+b+c );%0A%09%09possibleAnswers.add( a*b*c );%0A%09%09possibleAnswers.add( a*b+c );%0A%09%09possibleAnswers.add( a+b*c );%0A%09%09possibleAnswers.add( a*(b+c) );%0A%09%09possibleAnswers.add( (a+b)*c );%0A%09%09%0A%09%09System.out.println( possibleAnswers.last() );%0A%09%09%0A%09%09// Close scanner%0A%09%09read.close();%0A%09%7D%0A%09%0A%7D%0A

Create Expression.java