Skip to content

Instantly share code, notes, and snippets.

@TPAKC
Created March 29, 2015 16:02
Show Gist options
  • Save TPAKC/e5c975e526ae0bc38e6f to your computer and use it in GitHub Desktop.
Save TPAKC/e5c975e526ae0bc38e6f to your computer and use it in GitHub Desktop.
import java.util.*;
import java.io.IOException;
public class svidanie {
public static void main (String[] args) throws IOException
{
Scanner in = new Scanner(System.in);
int a = in.nextInt(),b = in.nextInt(),c = in.nextInt();
System.out.println(Math.abs(a)+Math.abs(b)<=c&&(c-b-a)%2==0?"Yes":"No");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment