#include<ctype.h>
#include<stdio.h>
#include<unistd.h>

void usage(){
	// YOUR CODE GOES HERE
}

int main(int argc, char **argv){

	// The following track the options we have seen as well as argument values
	int xflag = 0; int x=0;
	// YOUR CODE GOES HERE
	
	int c;

	while ((c = getopt (argc, argv, "FIX ME")) != -1){
		switch(c) {
			case 'x':
				xflag = 1;
				if(sscanf(optarg, "%d", &x)!=1){
					fprintf (stderr, "Option -x requires an integer argument.\n");
					return 1;
				}
				break;
			case 'y':
				// YOUR CODE GOES HERE

				break;
			case 'd':
				dflag = 1;
				break;
			default:
				usage();
				return 1;	
				break;
		}
	}

	int sum=0;

	// compute x+y (if the -d option is absent) or 2*(x+y) if the -d option was specified
	// YOUR CODE GOES HERE

	printf("%d\n", sum);
	
	return 0;
}
