Ad
package runtime;

public class Solution {
  public static long sum(int... nums) {
    long sum = 0;
    for (long l : nums) {
      sum += l;
    }
    return sum;
  }
}