Java Code:
public class Exercise2 {
 public static void main(String[] args) {
  System.out.println(24+26);
 }
}


Sample Output:

50