Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>

int main(void) {
	int y1,m1,d1,y2,m2,d2,s,f,i;
	while(scanf("%d%d%d%d%d%d",&y1,&m1,&d1,&y2,&m2,&d2) , y1 > 0 && m1 > 0 && d1 > 0 && y2 > 0 && m2 > 0 && d2 > 0){
		s = 0;f = 0;
		for(i = 1;i < y1;i++){
			if((i % 4 == 0 && i % 100 != 0) || i % 400 == 0){s+=366;}
			else{s+=365;}
		}
		if((y1 % 4 == 0 && y1 % 100 != 0) || y1 % 400 == 0){
			if(m1 == 1){s+=d1;}
			if(m1 == 2){s+=(31+d1);}
			if(m1 == 3){s+=(60+d1);}
			if(m1 == 4){s+=(91+d1);}
			if(m1 == 5){s+=(121+d1);}
			if(m1 == 6){s+=(152+d1);}
			if(m1 == 7){s+=(182+d1);}
			if(m1 == 8){s+=(213+d1);}
			if(m1 == 9){s+=(244+d1);}
			if(m1 == 10){s+=(274+d1);}
			if(m1 == 11){s+=(305+d1);}
			if(m1 == 12){s+=(335+d1);}
		}
		else{
			if(m1 == 1){s+=d1;}
			if(m1 == 2){s+=(31+d1);}
			if(m1 == 3){s+=(59+d1);}
			if(m1 == 4){s+=(90+d1);}
			if(m1 == 5){s+=(120+d1);}
			if(m1 == 6){s+=(151+d1);}
			if(m1 == 7){s+=(181+d1);}
			if(m1 == 8){s+=(212+d1);}
			if(m1 == 9){s+=(243+d1);}
			if(m1 == 10){s+=(273+d1);}
			if(m1 == 11){s+=(304+d1);}
			if(m1 == 12){s+=(334+d1);}
		}
		for(i = 1;i < y2;i++){
			if((i % 4 == 0 && i % 100 != 0) || i % 400 == 0){f+=366;}
			else{f+=365;}
		}
		if((y2 % 4 == 0 && y2 % 100 != 0) || y2 % 400 == 0){
			if(m2 == 1){f+=d2;}
			if(m2 == 2){f+=(31+d2);}
			if(m2 == 3){f+=(60+d2);}
			if(m2 == 4){f+=(91+d2);}
			if(m2 == 5){f+=(121+d2);}
			if(m2 == 6){f+=(152+d2);}
			if(m2 == 7){f+=(182+d2);}
			if(m2 == 8){f+=(213+d2);}
			if(m2 == 9){f+=(244+d2);}
			if(m2 == 10){f+=(274+d2);}
			if(m2 == 11){f+=(305+d2);}
			if(m2 == 12){f+=(335+d2);}
		}
		else{
			if(m2 == 1){f+=d2;}
			if(m2 == 2){f+=(31+d2);}
			if(m2 == 3){f+=(59+d2);}
			if(m2 == 4){f+=(90+d2);}
			if(m2 == 5){f+=(120+d2);}
			if(m2 == 6){f+=(151+d2);}
			if(m2 == 7){f+=(181+d2);}
			if(m2 == 8){f+=(212+d2);}
			if(m2 == 9){f+=(243+d2);}
			if(m2 == 10){f+=(273+d2);}
			if(m2 == 11){f+=(304+d2);}
			if(m2 == 12){f+=(334+d2);}
		}
		printf("%d\n",f-s);
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d\n"
.LC1:
	.string	"%d%d%d%d%d%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	jmp	.L2
.L71:
	movl	$0, -20(%rbp)
	movl	$0, -16(%rbp)
	movl	$1, -12(%rbp)
	jmp	.L3
.L8:
	movl	-12(%rbp), %eax
	andl	$3, %eax
	testl	%eax, %eax
	jne	.L4
	movl	-12(%rbp), %edx
	movslq	%edx, %rax
	imulq	$1374389535, %rax, %rax
	shrq	$32, %rax
	sarl	$5, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$100, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testl	%eax, %eax
	jne	.L5
.L4:
	movl	-12(%rbp), %edx
	movslq	%edx, %rax
	imulq	$1374389535, %rax, %rax
	shrq	$32, %rax
	sarl	$7, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$400, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testl	%eax, %eax
	jne	.L6
.L5:
	addl	$366, -20(%rbp)
	jmp	.L7
.L6:
	addl	$365, -20(%rbp)
.L7:
	addl	$1, -12(%rbp)
.L3:
	movl	-44(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L8
	movl	-44(%rbp), %eax
	andl	$3, %eax
	testl	%eax, %eax
	jne	.L9
	movl	-44(%rbp), %edx
	movslq	%edx, %rax
	imulq	$1374389535, %rax, %rax
	shrq	$32, %rax
	sarl	$5, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$100, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testl	%eax, %eax
	jne	.L10
.L9:
	movl	-44(%rbp), %edx
	movslq	%edx, %rax
	imulq	$1374389535, %rax, %rax
	shrq	$32, %rax
	sarl	$7, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$400, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testl	%eax, %eax
	jne	.L11
.L10:
	movl	-40(%rbp), %eax
	cmpl	$1, %eax
	jne	.L12
	movl	-36(%rbp), %eax
	addl	%eax, -20(%rbp)
.L12:
	movl	-40(%rbp), %eax
	cmpl	$2, %eax
	jne	.L13
	movl	-36(%rbp), %eax
	addl	$31, %eax
	addl	%eax, -20(%rbp)
.L13:
	movl	-40(%rbp), %eax
	cmpl	$3, %eax
	jne	.L14
	movl	-36(%rbp), %eax
	addl	$60, %eax
	addl	%eax, -20(%rbp)
.L14:
	movl	-40(%rbp), %eax
	cmpl	$4, %eax
	jne	.L15
	movl	-36(%rbp), %eax
	addl	$91, %eax
	addl	%eax, -20(%rbp)
.L15:
	movl	-40(%rbp), %eax
	cmpl	$5, %eax
	jne	.L16
	movl	-36(%rbp), %eax
	addl	$121, %eax
	addl	%eax, -20(%rbp)
.L16:
	movl	-40(%rbp), %eax
	cmpl	$6, %eax
	jne	.L17
	movl	-36(%rbp), %eax
	addl	$152, %eax
	addl	%eax, -20(%rbp)
.L17:
	movl	-40(%rbp), %eax
	cmpl	$7, %eax
	jne	.L18
	movl	-36(%rbp), %eax
	addl	$182, %eax
	addl	%eax, -20(%rbp)
.L18:
	movl	-40(%rbp), %eax
	cmpl	$8, %eax
	jne	.L19
	movl	-36(%rbp), %eax
	addl	$213, %eax
	addl	%eax, -20(%rbp)
.L19:
	movl	-40(%rbp), %eax
	cmpl	$9, %eax
	jne	.L20
	movl	-36(%rbp), %eax
	addl	$244, %eax
	addl	%eax, -20(%rbp)
.L20:
	movl	-40(%rbp), %eax
	cmpl	$10, %eax
	jne	.L21
	movl	-36(%rbp), %eax
	addl	$274, %eax
	addl	%eax, -20(%rbp)
.L21:
	movl	-40(%rbp), %eax
	cmpl	$11, %eax
	jne	.L22
	movl	-36(%rbp), %eax
	addl	$305, %eax
	addl	%eax, -20(%rbp)
.L22:
	movl	-40(%rbp), %eax
	cmpl	$12, %eax
	jne	.L24
	movl	-36(%rbp), %eax
	addl	$335, %eax
	addl	%eax, -20(%rbp)
	jmp	.L24
.L11:
	movl	-40(%rbp), %eax
	cmpl	$1, %eax
	jne	.L25
	movl	-36(%rbp), %eax
	addl	%eax, -20(%rbp)
.L25:
	movl	-40(%rbp), %eax
	cmpl	$2, %eax
	jne	.L26
	movl	-36(%rbp), %eax
	addl	$31, %eax
	addl	%eax, -20(%rbp)
.L26:
	movl	-40(%rbp), %eax
	cmpl	$3, %eax
	jne	.L27
	movl	-36(%rbp), %eax
	addl	$59, %eax
	addl	%eax, -20(%rbp)
.L27:
	movl	-40(%rbp), %eax
	cmpl	$4, %eax
	jne	.L28
	movl	-36(%rbp), %eax
	addl	$90, %eax
	addl	%eax, -20(%rbp)
.L28:
	movl	-40(%rbp), %eax
	cmpl	$5, %eax
	jne	.L29
	movl	-36(%rbp), %eax
	addl	$120, %eax
	addl	%eax, -20(%rbp)
.L29:
	movl	-40(%rbp), %eax
	cmpl	$6, %eax
	jne	.L30
	movl	-36(%rbp), %eax
	addl	$151, %eax
	addl	%eax, -20(%rbp)
.L30:
	movl	-40(%rbp), %eax
	cmpl	$7, %eax
	jne	.L31
	movl	-36(%rbp), %eax
	addl	$181, %eax
	addl	%eax, -20(%rbp)
.L31:
	movl	-40(%rbp), %eax
	cmpl	$8, %eax
	jne	.L32
	movl	-36(%rbp), %eax
	addl	$212, %eax
	addl	%eax, -20(%rbp)
.L32:
	movl	-40(%rbp), %eax
	cmpl	$9, %eax
	jne	.L33
	movl	-36(%rbp), %eax
	addl	$243, %eax
	addl	%eax, -20(%rbp)
.L33:
	movl	-40(%rbp), %eax
	cmpl	$10, %eax
	jne	.L34
	movl	-36(%rbp), %eax
	addl	$273, %eax
	addl	%eax, -20(%rbp)
.L34:
	movl	-40(%rbp), %eax
	cmpl	$11, %eax
	jne	.L35
	movl	-36(%rbp), %eax
	addl	$304, %eax
	addl	%eax, -20(%rbp)
.L35:
	movl	-40(%rbp), %eax
	cmpl	$12, %eax
	jne	.L24
	movl	-36(%rbp), %eax
	addl	$334, %eax
	addl	%eax, -20(%rbp)
.L24:
	movl	$1, -12(%rbp)
	jmp	.L36
.L41:
	movl	-12(%rbp), %eax
	andl	$3, %eax
	testl	%eax, %eax
	jne	.L37
	movl	-12(%rbp), %edx
	movslq	%edx, %rax
	imulq	$1374389535, %rax, %rax
	shrq	$32, %rax
	sarl	$5, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$100, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testl	%eax, %eax
	jne	.L38
.L37:
	movl	-12(%rbp), %edx
	movslq	%edx, %rax
	imulq	$1374389535, %rax, %rax
	shrq	$32, %rax
	sarl	$7, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$400, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testl	%eax, %eax
	jne	.L39
.L38:
	addl	$366, -16(%rbp)
	jmp	.L40
.L39:
	addl	$365, -16(%rbp)
.L40:
	addl	$1, -12(%rbp)
.L36:
	movl	-32(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L41
	movl	-32(%rbp), %eax
	andl	$3, %eax
	testl	%eax, %eax
	jne	.L42
	movl	-32(%rbp), %edx
	movslq	%edx, %rax
	imulq	$1374389535, %rax, %rax
	shrq	$32, %rax
	sarl	$5, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$100, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testl	%eax, %eax
	jne	.L43
.L42:
	movl	-32(%rbp), %edx
	movslq	%edx, %rax
	imulq	$1374389535, %rax, %rax
	shrq	$32, %rax
	sarl	$7, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$400, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testl	%eax, %eax
	jne	.L44
.L43:
	movl	-28(%rbp), %eax
	cmpl	$1, %eax
	jne	.L45
	movl	-24(%rbp), %eax
	addl	%eax, -16(%rbp)
.L45:
	movl	-28(%rbp), %eax
	cmpl	$2, %eax
	jne	.L46
	movl	-24(%rbp), %eax
	addl	$31, %eax
	addl	%eax, -16(%rbp)
.L46:
	movl	-28(%rbp), %eax
	cmpl	$3, %eax
	jne	.L47
	movl	-24(%rbp), %eax
	addl	$60, %eax
	addl	%eax, -16(%rbp)
.L47:
	movl	-28(%rbp), %eax
	cmpl	$4, %eax
	jne	.L48
	movl	-24(%rbp), %eax
	addl	$91, %eax
	addl	%eax, -16(%rbp)
.L48:
	movl	-28(%rbp), %eax
	cmpl	$5, %eax
	jne	.L49
	movl	-24(%rbp), %eax
	addl	$121, %eax
	addl	%eax, -16(%rbp)
.L49:
	movl	-28(%rbp), %eax
	cmpl	$6, %eax
	jne	.L50
	movl	-24(%rbp), %eax
	addl	$152, %eax
	addl	%eax, -16(%rbp)
.L50:
	movl	-28(%rbp), %eax
	cmpl	$7, %eax
	jne	.L51
	movl	-24(%rbp), %eax
	addl	$182, %eax
	addl	%eax, -16(%rbp)
.L51:
	movl	-28(%rbp), %eax
	cmpl	$8, %eax
	jne	.L52
	movl	-24(%rbp), %eax
	addl	$213, %eax
	addl	%eax, -16(%rbp)
.L52:
	movl	-28(%rbp), %eax
	cmpl	$9, %eax
	jne	.L53
	movl	-24(%rbp), %eax
	addl	$244, %eax
	addl	%eax, -16(%rbp)
.L53:
	movl	-28(%rbp), %eax
	cmpl	$10, %eax
	jne	.L54
	movl	-24(%rbp), %eax
	addl	$274, %eax
	addl	%eax, -16(%rbp)
.L54:
	movl	-28(%rbp), %eax
	cmpl	$11, %eax
	jne	.L55
	movl	-24(%rbp), %eax
	addl	$305, %eax
	addl	%eax, -16(%rbp)
.L55:
	movl	-28(%rbp), %eax
	cmpl	$12, %eax
	jne	.L57
	movl	-24(%rbp), %eax
	addl	$335, %eax
	addl	%eax, -16(%rbp)
	jmp	.L57
.L44:
	movl	-28(%rbp), %eax
	cmpl	$1, %eax
	jne	.L58
	movl	-24(%rbp), %eax
	addl	%eax, -16(%rbp)
.L58:
	movl	-28(%rbp), %eax
	cmpl	$2, %eax
	jne	.L59
	movl	-24(%rbp), %eax
	addl	$31, %eax
	addl	%eax, -16(%rbp)
.L59:
	movl	-28(%rbp), %eax
	cmpl	$3, %eax
	jne	.L60
	movl	-24(%rbp), %eax
	addl	$59, %eax
	addl	%eax, -16(%rbp)
.L60:
	movl	-28(%rbp), %eax
	cmpl	$4, %eax
	jne	.L61
	movl	-24(%rbp), %eax
	addl	$90, %eax
	addl	%eax, -16(%rbp)
.L61:
	movl	-28(%rbp), %eax
	cmpl	$5, %eax
	jne	.L62
	movl	-24(%rbp), %eax
	addl	$120, %eax
	addl	%eax, -16(%rbp)
.L62:
	movl	-28(%rbp), %eax
	cmpl	$6, %eax
	jne	.L63
	movl	-24(%rbp), %eax
	addl	$151, %eax
	addl	%eax, -16(%rbp)
.L63:
	movl	-28(%rbp), %eax
	cmpl	$7, %eax
	jne	.L64
	movl	-24(%rbp), %eax
	addl	$181, %eax
	addl	%eax, -16(%rbp)
.L64:
	movl	-28(%rbp), %eax
	cmpl	$8, %eax
	jne	.L65
	movl	-24(%rbp), %eax
	addl	$212, %eax
	addl	%eax, -16(%rbp)
.L65:
	movl	-28(%rbp), %eax
	cmpl	$9, %eax
	jne	.L66
	movl	-24(%rbp), %eax
	addl	$243, %eax
	addl	%eax, -16(%rbp)
.L66:
	movl	-28(%rbp), %eax
	cmpl	$10, %eax
	jne	.L67
	movl	-24(%rbp), %eax
	addl	$273, %eax
	addl	%eax, -16(%rbp)
.L67:
	movl	-28(%rbp), %eax
	cmpl	$11, %eax
	jne	.L68
	movl	-24(%rbp), %eax
	addl	$304, %eax
	addl	%eax, -16(%rbp)
.L68:
	movl	-28(%rbp), %eax
	cmpl	$12, %eax
	jne	.L57
	movl	-24(%rbp), %eax
	addl	$334, %eax
	addl	%eax, -16(%rbp)
.L57:
	movl	-16(%rbp), %eax
	subl	-20(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L2:
	leaq	-28(%rbp), %r8
	leaq	-32(%rbp), %rdi
	leaq	-36(%rbp), %rcx
	leaq	-40(%rbp), %rdx
	leaq	-44(%rbp), %rax
	subq	$8, %rsp
	leaq	-24(%rbp), %rsi
	pushq	%rsi
	movq	%r8, %r9
	movq	%rdi, %r8
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$16, %rsp
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jle	.L69
	movl	-40(%rbp), %eax
	testl	%eax, %eax
	jle	.L69
	movl	-36(%rbp), %eax
	testl	%eax, %eax
	jle	.L69
	movl	-32(%rbp), %eax
	testl	%eax, %eax
	jle	.L69
	movl	-28(%rbp), %eax
	testl	%eax, %eax
	jle	.L69
	movl	-24(%rbp), %eax
	testl	%eax, %eax
	jle	.L69
	movl	$1, %eax
	jmp	.L70
.L69:
	movl	$0, %eax
.L70:
	testl	%eax, %eax
	jne	.L71
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L73
	call	__stack_chk_fail@PLT
.L73:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
user
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
.LC1:
	.string	"%d%d%d%d%d%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	.LC1(%rip), %rbx
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %rax
	leaq	32(%rsp), %r15
	movq	%rax, 8(%rsp)
	leaq	28(%rsp), %r14
	leaq	24(%rsp), %r13
	leaq	20(%rsp), %r12
	leaq	16(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L2:
	subq	$8, %rsp
	.cfi_def_cfa_offset 120
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%r15, %r9
	pushq	16(%rsp)
	.cfi_def_cfa_offset 128
	movq	%r14, %r8
	movq	%r13, %rcx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	32(%rsp), %esi
	popq	%rax
	.cfi_def_cfa_offset 120
	popq	%rdx
	.cfi_def_cfa_offset 112
	testl	%esi, %esi
	jle	.L66
	movl	20(%rsp), %r10d
	testl	%r10d, %r10d
	jle	.L66
	movl	24(%rsp), %r11d
	testl	%r11d, %r11d
	jle	.L66
	movl	28(%rsp), %edi
	testl	%edi, %edi
	jle	.L66
	movl	32(%rsp), %r8d
	testl	%r8d, %r8d
	jle	.L66
	movl	36(%rsp), %r9d
	testl	%r9d, %r9d
	jle	.L66
	movl	$1, %eax
	xorl	%ecx, %ecx
	cmpl	$1, %esi
	jne	.L7
	jmp	.L67
	.p2align 4,,10
	.p2align 3
.L3:
	imull	$-1030792151, %eax, %edx
	rorl	$2, %edx
	cmpl	$42949672, %edx
	jbe	.L6
.L4:
	addl	$1, %eax
	addl	$366, %ecx
	cmpl	%eax, %esi
	je	.L67
.L7:
	testb	$3, %al
	je	.L3
.L6:
	imull	$-1030792151, %eax, %edx
	rorl	$4, %edx
	cmpl	$10737418, %edx
	jbe	.L4
	addl	$1, %eax
	addl	$365, %ecx
	cmpl	%eax, %esi
	jne	.L7
.L67:
	testb	$3, %sil
	jne	.L8
	imull	$-1030792151, %esi, %eax
	addl	$85899344, %eax
	rorl	$2, %eax
	cmpl	$42949672, %eax
	jbe	.L8
.L9:
	cmpl	$1, %r10d
	je	.L77
	cmpl	$2, %r10d
	je	.L76
	cmpl	$3, %r10d
	jne	.L12
	leal	60(%r11,%rcx), %ecx
	.p2align 4,,10
	.p2align 3
.L22:
	cmpl	$1, %edi
	je	.L69
.L81:
	movl	$1, %eax
	xorl	%edx, %edx
	jmp	.L39
	.p2align 4,,10
	.p2align 3
.L35:
	imull	$-1030792151, %eax, %esi
	rorl	$2, %esi
	cmpl	$42949672, %esi
	jbe	.L38
.L36:
	addl	$1, %eax
	addl	$366, %edx
	cmpl	%eax, %edi
	je	.L34
.L39:
	testb	$3, %al
	je	.L35
.L38:
	imull	$-1030792151, %eax, %esi
	rorl	$4, %esi
	cmpl	$10737418, %esi
	jbe	.L36
	addl	$1, %eax
	addl	$365, %edx
	cmpl	%eax, %edi
	jne	.L39
.L34:
	testb	$3, %dil
	jne	.L40
.L82:
	imull	$-1030792151, %edi, %eax
	addl	$85899344, %eax
	rorl	$2, %eax
	cmpl	$42949672, %eax
	jbe	.L40
.L41:
	cmpl	$1, %r8d
	je	.L79
	cmpl	$2, %r8d
	je	.L78
	cmpl	$3, %r8d
	jne	.L44
	leal	60(%r9,%rdx), %edx
	.p2align 4,,10
	.p2align 3
.L54:
	subl	%ecx, %edx
	leaq	.LC0(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L8:
	imull	$-1030792151, %esi, %esi
	addl	$85899344, %esi
	rorl	$4, %esi
	cmpl	$10737418, %esi
	jbe	.L9
	cmpl	$1, %r10d
	je	.L77
	cmpl	$2, %r10d
	je	.L76
	cmpl	$3, %r10d
	jne	.L24
	leal	59(%r11,%rcx), %ecx
	cmpl	$1, %edi
	jne	.L81
	.p2align 4,,10
	.p2align 3
.L69:
	xorl	%edx, %edx
	testb	$3, %dil
	je	.L82
	.p2align 4,,10
	.p2align 3
.L40:
	imull	$-1030792151, %edi, %edi
	addl	$85899344, %edi
	rorl	$4, %edi
	cmpl	$10737418, %edi
	jbe	.L41
	cmpl	$1, %r8d
	je	.L79
	cmpl	$2, %r8d
	je	.L78
	cmpl	$3, %r8d
	jne	.L56
	leal	59(%r9,%rdx), %edx
	jmp	.L54
	.p2align 4,,10
	.p2align 3
.L77:
	addl	%r11d, %ecx
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L76:
	leal	31(%r11,%rcx), %ecx
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L78:
	leal	31(%r9,%rdx), %edx
	jmp	.L54
	.p2align 4,,10
	.p2align 3
.L79:
	addl	%r9d, %edx
	jmp	.L54
.L44:
	cmpl	$4, %r8d
	jne	.L46
	leal	91(%r9,%rdx), %edx
	jmp	.L54
.L12:
	cmpl	$4, %r10d
	jne	.L14
	leal	91(%r11,%rcx), %ecx
	jmp	.L22
.L46:
	cmpl	$5, %r8d
	jne	.L47
	leal	121(%r9,%rdx), %edx
	jmp	.L54
.L14:
	cmpl	$5, %r10d
	jne	.L15
	leal	121(%r11,%rcx), %ecx
	jmp	.L22
.L47:
	cmpl	$6, %r8d
	jne	.L48
	leal	152(%r9,%rdx), %edx
	jmp	.L54
.L15:
	cmpl	$6, %r10d
	jne	.L16
	leal	152(%r11,%rcx), %ecx
	jmp	.L22
.L48:
	cmpl	$7, %r8d
	jne	.L49
	leal	182(%r9,%rdx), %edx
	jmp	.L54
.L16:
	cmpl	$7, %r10d
	jne	.L17
	leal	182(%r11,%rcx), %ecx
	jmp	.L22
.L49:
	cmpl	$8, %r8d
	jne	.L50
	leal	213(%r9,%rdx), %edx
	jmp	.L54
.L17:
	cmpl	$8, %r10d
	jne	.L18
	leal	213(%r11,%rcx), %ecx
	jmp	.L22
.L50:
	cmpl	$9, %r8d
	jne	.L51
	leal	244(%r9,%rdx), %edx
	jmp	.L54
.L18:
	cmpl	$9, %r10d
	jne	.L19
	leal	244(%r11,%rcx), %ecx
	jmp	.L22
.L51:
	cmpl	$10, %r8d
	jne	.L52
	leal	274(%r9,%rdx), %edx
	jmp	.L54
.L19:
	cmpl	$10, %r10d
	jne	.L20
	leal	274(%r11,%rcx), %ecx
	jmp	.L22
.L52:
	cmpl	$11, %r8d
	jne	.L53
	leal	305(%r9,%rdx), %edx
	jmp	.L54
.L20:
	cmpl	$11, %r10d
	jne	.L21
	leal	305(%r11,%rcx), %ecx
	jmp	.L22
.L53:
	cmpl	$12, %r8d
	jne	.L54
	leal	335(%r9,%rdx), %edx
	jmp	.L54
.L21:
	cmpl	$12, %r10d
	jne	.L22
	leal	335(%r11,%rcx), %ecx
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L66:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L83
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L24:
	.cfi_restore_state
	cmpl	$4, %r10d
	jne	.L26
	leal	90(%r11,%rcx), %ecx
	jmp	.L22
.L56:
	cmpl	$4, %r8d
	jne	.L58
	leal	90(%r9,%rdx), %edx
	jmp	.L54
.L26:
	cmpl	$5, %r10d
	jne	.L27
	leal	120(%r11,%rcx), %ecx
	jmp	.L22
.L58:
	cmpl	$5, %r8d
	jne	.L59
	leal	120(%r9,%rdx), %edx
	jmp	.L54
.L27:
	cmpl	$6, %r10d
	jne	.L28
	leal	151(%r11,%rcx), %ecx
	jmp	.L22
.L59:
	cmpl	$6, %r8d
	jne	.L60
	leal	151(%r9,%rdx), %edx
	jmp	.L54
.L28:
	cmpl	$7, %r10d
	jne	.L29
	leal	181(%r11,%rcx), %ecx
	jmp	.L22
.L60:
	cmpl	$7, %r8d
	jne	.L61
	leal	181(%r9,%rdx), %edx
	jmp	.L54
.L29:
	cmpl	$8, %r10d
	jne	.L30
	leal	212(%r11,%rcx), %ecx
	jmp	.L22
.L61:
	cmpl	$8, %r8d
	jne	.L62
	leal	212(%r9,%rdx), %edx
	jmp	.L54
.L30:
	cmpl	$9, %r10d
	jne	.L31
	leal	243(%r11,%rcx), %ecx
	jmp	.L22
.L62:
	cmpl	$9, %r8d
	jne	.L63
	leal	243(%r9,%rdx), %edx
	jmp	.L54
.L31:
	cmpl	$10, %r10d
	jne	.L32
	leal	273(%r11,%rcx), %ecx
	jmp	.L22
.L63:
	cmpl	$10, %r8d
	jne	.L64
	leal	273(%r9,%rdx), %edx
	jmp	.L54
.L32:
	cmpl	$11, %r10d
	jne	.L33
	leal	304(%r11,%rcx), %ecx
	jmp	.L22
.L64:
	cmpl	$11, %r8d
	jne	.L65
	leal	304(%r9,%rdx), %edx
	jmp	.L54
.L33:
	cmpl	$12, %r10d
	jne	.L22
	leal	334(%r11,%rcx), %ecx
	jmp	.L22
.L65:
	cmpl	$12, %r8d
	jne	.L54
	leal	334(%r9,%rdx), %edx
	jmp	.L54
.L83:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

rule
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
.LC1:
	.string	"%d%d%d%d%d%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	.LC1(%rip), %rbx
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %rax
	leaq	32(%rsp), %r15
	movq	%rax, 8(%rsp)
	leaq	28(%rsp), %r14
	leaq	24(%rsp), %r13
	leaq	20(%rsp), %r12
	leaq	16(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L2:
	subq	$8, %rsp
	.cfi_def_cfa_offset 120
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%r15, %r9
	pushq	16(%rsp)
	.cfi_def_cfa_offset 128
	movq	%r14, %r8
	movq	%r13, %rcx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	32(%rsp), %esi
	popq	%rax
	.cfi_def_cfa_offset 120
	popq	%rdx
	.cfi_def_cfa_offset 112
	testl	%esi, %esi
	jle	.L66
	movl	20(%rsp), %r10d
	testl	%r10d, %r10d
	jle	.L66
	movl	24(%rsp), %r11d
	testl	%r11d, %r11d
	jle	.L66
	movl	28(%rsp), %edi
	testl	%edi, %edi
	jle	.L66
	movl	32(%rsp), %r8d
	testl	%r8d, %r8d
	jle	.L66
	movl	36(%rsp), %r9d
	testl	%r9d, %r9d
	jle	.L66
	movl	$1, %eax
	xorl	%ecx, %ecx
	cmpl	$1, %esi
	jne	.L7
	jmp	.L67
	.p2align 4,,10
	.p2align 3
.L3:
	imull	$-1030792151, %eax, %edx
	rorl	$2, %edx
	cmpl	$42949672, %edx
	jbe	.L6
.L4:
	addl	$1, %eax
	addl	$366, %ecx
	cmpl	%eax, %esi
	je	.L67
.L7:
	testb	$3, %al
	je	.L3
.L6:
	imull	$-1030792151, %eax, %edx
	rorl	$4, %edx
	cmpl	$10737418, %edx
	jbe	.L4
	addl	$1, %eax
	addl	$365, %ecx
	cmpl	%eax, %esi
	jne	.L7
.L67:
	testb	$3, %sil
	jne	.L8
	imull	$-1030792151, %esi, %eax
	addl	$85899344, %eax
	rorl	$2, %eax
	cmpl	$42949672, %eax
	jbe	.L8
.L9:
	cmpl	$1, %r10d
	je	.L77
	cmpl	$2, %r10d
	je	.L76
	cmpl	$3, %r10d
	jne	.L12
	leal	60(%r11,%rcx), %ecx
	.p2align 4,,10
	.p2align 3
.L22:
	cmpl	$1, %edi
	je	.L69
.L81:
	movl	$1, %eax
	xorl	%edx, %edx
	jmp	.L39
	.p2align 4,,10
	.p2align 3
.L35:
	imull	$-1030792151, %eax, %esi
	rorl	$2, %esi
	cmpl	$42949672, %esi
	jbe	.L38
.L36:
	addl	$1, %eax
	addl	$366, %edx
	cmpl	%eax, %edi
	je	.L34
.L39:
	testb	$3, %al
	je	.L35
.L38:
	imull	$-1030792151, %eax, %esi
	rorl	$4, %esi
	cmpl	$10737418, %esi
	jbe	.L36
	addl	$1, %eax
	addl	$365, %edx
	cmpl	%eax, %edi
	jne	.L39
.L34:
	testb	$3, %dil
	jne	.L40
.L82:
	imull	$-1030792151, %edi, %eax
	addl	$85899344, %eax
	rorl	$2, %eax
	cmpl	$42949672, %eax
	jbe	.L40
.L41:
	cmpl	$1, %r8d
	je	.L79
	cmpl	$2, %r8d
	je	.L78
	cmpl	$3, %r8d
	jne	.L44
	leal	60(%r9,%rdx), %edx
	.p2align 4,,10
	.p2align 3
.L54:
	subl	%ecx, %edx
	leaq	.LC0(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L8:
	imull	$-1030792151, %esi, %esi
	addl	$85899344, %esi
	rorl	$4, %esi
	cmpl	$10737418, %esi
	jbe	.L9
	cmpl	$1, %r10d
	je	.L77
	cmpl	$2, %r10d
	je	.L76
	cmpl	$3, %r10d
	jne	.L24
	leal	59(%r11,%rcx), %ecx
	cmpl	$1, %edi
	jne	.L81
	.p2align 4,,10
	.p2align 3
.L69:
	xorl	%edx, %edx
	testb	$3, %dil
	je	.L82
	.p2align 4,,10
	.p2align 3
.L40:
	imull	$-1030792151, %edi, %edi
	addl	$85899344, %edi
	rorl	$4, %edi
	cmpl	$10737418, %edi
	jbe	.L41
	cmpl	$1, %r8d
	je	.L79
	cmpl	$2, %r8d
	je	.L78
	cmpl	$3, %r8d
	jne	.L56
	leal	59(%r9,%rdx), %edx
	jmp	.L54
	.p2align 4,,10
	.p2align 3
.L77:
	addl	%r11d, %ecx
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L76:
	leal	31(%r11,%rcx), %ecx
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L78:
	leal	31(%r9,%rdx), %edx
	jmp	.L54
	.p2align 4,,10
	.p2align 3
.L79:
	addl	%r9d, %edx
	jmp	.L54
.L44:
	cmpl	$4, %r8d
	jne	.L46
	leal	91(%r9,%rdx), %edx
	jmp	.L54
.L12:
	cmpl	$4, %r10d
	jne	.L14
	leal	91(%r11,%rcx), %ecx
	jmp	.L22
.L46:
	cmpl	$5, %r8d
	jne	.L47
	leal	121(%r9,%rdx), %edx
	jmp	.L54
.L14:
	cmpl	$5, %r10d
	jne	.L15
	leal	121(%r11,%rcx), %ecx
	jmp	.L22
.L47:
	cmpl	$6, %r8d
	jne	.L48
	leal	152(%r9,%rdx), %edx
	jmp	.L54
.L15:
	cmpl	$6, %r10d
	jne	.L16
	leal	152(%r11,%rcx), %ecx
	jmp	.L22
.L48:
	cmpl	$7, %r8d
	jne	.L49
	leal	182(%r9,%rdx), %edx
	jmp	.L54
.L16:
	cmpl	$7, %r10d
	jne	.L17
	leal	182(%r11,%rcx), %ecx
	jmp	.L22
.L49:
	cmpl	$8, %r8d
	jne	.L50
	leal	213(%r9,%rdx), %edx
	jmp	.L54
.L17:
	cmpl	$8, %r10d
	jne	.L18
	leal	213(%r11,%rcx), %ecx
	jmp	.L22
.L50:
	cmpl	$9, %r8d
	jne	.L51
	leal	244(%r9,%rdx), %edx
	jmp	.L54
.L18:
	cmpl	$9, %r10d
	jne	.L19
	leal	244(%r11,%rcx), %ecx
	jmp	.L22
.L51:
	cmpl	$10, %r8d
	jne	.L52
	leal	274(%r9,%rdx), %edx
	jmp	.L54
.L19:
	cmpl	$10, %r10d
	jne	.L20
	leal	274(%r11,%rcx), %ecx
	jmp	.L22
.L52:
	cmpl	$11, %r8d
	jne	.L53
	leal	305(%r9,%rdx), %edx
	jmp	.L54
.L20:
	cmpl	$11, %r10d
	jne	.L21
	leal	305(%r11,%rcx), %ecx
	jmp	.L22
.L53:
	cmpl	$12, %r8d
	jne	.L54
	leal	335(%r9,%rdx), %edx
	jmp	.L54
.L21:
	cmpl	$12, %r10d
	jne	.L22
	leal	335(%r11,%rcx), %ecx
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L66:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L83
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L24:
	.cfi_restore_state
	cmpl	$4, %r10d
	jne	.L26
	leal	90(%r11,%rcx), %ecx
	jmp	.L22
.L56:
	cmpl	$4, %r8d
	jne	.L58
	leal	90(%r9,%rdx), %edx
	jmp	.L54
.L26:
	cmpl	$5, %r10d
	jne	.L27
	leal	120(%r11,%rcx), %ecx
	jmp	.L22
.L58:
	cmpl	$5, %r8d
	jne	.L59
	leal	120(%r9,%rdx), %edx
	jmp	.L54
.L27:
	cmpl	$6, %r10d
	jne	.L28
	leal	151(%r11,%rcx), %ecx
	jmp	.L22
.L59:
	cmpl	$6, %r8d
	jne	.L60
	leal	151(%r9,%rdx), %edx
	jmp	.L54
.L28:
	cmpl	$7, %r10d
	jne	.L29
	leal	181(%r11,%rcx), %ecx
	jmp	.L22
.L60:
	cmpl	$7, %r8d
	jne	.L61
	leal	181(%r9,%rdx), %edx
	jmp	.L54
.L29:
	cmpl	$8, %r10d
	jne	.L30
	leal	212(%r11,%rcx), %ecx
	jmp	.L22
.L61:
	cmpl	$8, %r8d
	jne	.L62
	leal	212(%r9,%rdx), %edx
	jmp	.L54
.L30:
	cmpl	$9, %r10d
	jne	.L31
	leal	243(%r11,%rcx), %ecx
	jmp	.L22
.L62:
	cmpl	$9, %r8d
	jne	.L63
	leal	243(%r9,%rdx), %edx
	jmp	.L54
.L31:
	cmpl	$10, %r10d
	jne	.L32
	leal	273(%r11,%rcx), %ecx
	jmp	.L22
.L63:
	cmpl	$10, %r8d
	jne	.L64
	leal	273(%r9,%rdx), %edx
	jmp	.L54
.L32:
	cmpl	$11, %r10d
	jne	.L33
	leal	304(%r11,%rcx), %ecx
	jmp	.L22
.L64:
	cmpl	$11, %r8d
	jne	.L65
	leal	304(%r9,%rdx), %edx
	jmp	.L54
.L33:
	cmpl	$12, %r10d
	jne	.L22
	leal	334(%r11,%rcx), %ecx
	jmp	.L22
.L65:
	cmpl	$12, %r8d
	jne	.L54
	leal	334(%r9,%rdx), %edx
	jmp	.L54
.L83:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

#include <stdio.h>

int main(void) {
	int y1,m1,d1,y2,m2,d2,s,f,i;
	while(scanf("%d%d%d%d%d%d",&y1,&m1,&d1,&y2,&m2,&d2) , y1 > 0 && m1 > 0 && d1 > 0 && y2 > 0 && m2 > 0 && d2 > 0){
		s = 0;f = 0;
		for(i = 1;i < y1;i++){
			if((i % 4 == 0 && i % 100 != 0) || i % 400 == 0){s+=366;}
			else{s+=365;}
		}
		if((y1 % 4 == 0 && y1 % 100 != 0) || y1 % 400 == 0){
			if(m1 == 1){s+=d1;}
			if(m1 == 2){s+=(31+d1);}
			if(m1 == 3){s+=(60+d1);}
			if(m1 == 4){s+=(91+d1);}
			if(m1 == 5){s+=(121+d1);}
			if(m1 == 6){s+=(152+d1);}
			if(m1 == 7){s+=(182+d1);}
			if(m1 == 8){s+=(213+d1);}
			if(m1 == 9){s+=(244+d1);}
			if(m1 == 10){s+=(274+d1);}
			if(m1 == 11){s+=(305+d1);}
			if(m1 == 12){s+=(335+d1);}
		}
		else{
			if(m1 == 1){s+=d1;}
			if(m1 == 2){s+=(31+d1);}
			if(m1 == 3){s+=(59+d1);}
			if(m1 == 4){s+=(90+d1);}
			if(m1 == 5){s+=(120+d1);}
			if(m1 == 6){s+=(151+d1);}
			if(m1 == 7){s+=(181+d1);}
			if(m1 == 8){s+=(212+d1);}
			if(m1 == 9){s+=(243+d1);}
			if(m1 == 10){s+=(273+d1);}
			if(m1 == 11){s+=(304+d1);}
			if(m1 == 12){s+=(334+d1);}
		}
		for(i = 1;i < y2;i++){
			if((i % 4 == 0 && i % 100 != 0) || i % 400 == 0){f+=366;}
			else{f+=365;}
		}
		if((y2 % 4 == 0 && y2 % 100 != 0) || y2 % 400 == 0){
			if(m2 == 1){f+=d2;}
			if(m2 == 2){f+=(31+d2);}
			if(m2 == 3){f+=(60+d2);}
			if(m2 == 4){f+=(91+d2);}
			if(m2 == 5){f+=(121+d2);}
			if(m2 == 6){f+=(152+d2);}
			if(m2 == 7){f+=(182+d2);}
			if(m2 == 8){f+=(213+d2);}
			if(m2 == 9){f+=(244+d2);}
			if(m2 == 10){f+=(274+d2);}
			if(m2 == 11){f+=(305+d2);}
			if(m2 == 12){f+=(335+d2);}
		}
		else{
			if(m2 == 1){f+=d2;}
			if(m2 == 2){f+=(31+d2);}
			if(m2 == 3){f+=(59+d2);}
			if(m2 == 4){f+=(90+d2);}
			if(m2 == 5){f+=(120+d2);}
			if(m2 == 6){f+=(151+d2);}
			if(m2 == 7){f+=(181+d2);}
			if(m2 == 8){f+=(212+d2);}
			if(m2 == 9){f+=(243+d2);}
			if(m2 == 10){f+=(273+d2);}
			if(m2 == 11){f+=(304+d2);}
			if(m2 == 12){f+=(334+d2);}
		}
		printf("%d\n",f-s);
	}
	return 0;
}
2006 9 2 522 9 3
2006 9 2 2006 11 11
2004 1 1 2005 1 1
2000 1 1 2006 1 1
2000 1 1 2101 1 1
-1 -1 -1 -1 -1 -1
 2006 9 2 2006 9 2
2006 9 2 2006 11 11
2004 1 1 2005 1 1
2000 1 1 2006 1 1
2000 1 1 2101 1 1
-1 -1 -1 -1 -1 -1
 2006 9 2 522 9 3
2006 9 1 2006 11 11
2004 1 1 2005 1 1
2000 1 1 2006 1 1
2000 1 1 2101 1 1
-1 -1 -1 -1 -1 -1
 2006 9 2 2006 9 2
2006 9 3 2006 11 11
2004 1 1 2005 1 1
2000 1 1 2006 1 1
2000 1 1 2101 1 1
-1 -1 -1 -1 -1 -1
 2006 9 2 522 9 3
2006 9 1 2006 11 11
2004 1 2 2005 1 1
2000 1 1 2006 1 1
2000 1 1 2101 1 1
-1 -1 -1 -1 -1 -1
 2006 9 2 522 9 3
2006 9 1 2006 11 11
2004 1 2 2005 1 1
1153 1 1 2006 1 1
2000 1 1 2101 1 1
-1 -1 -1 -1 -1 -1
 2006 9 2 522 9 3
2006 9 1 2006 11 11
2004 1 2 2005 1 1
218 1 1 2006 1 1
2000 1 1 2101 1 1
-1 -1 -1 -1 -1 -1
 2006 9 2 522 9 3
2006 9 2 2006 11 11
2004 1 1 2005 1 1
2000 1 1 2006 1 1
2703 1 1 2101 1 1
-1 -1 -1 -1 -1 -1
 2006 9 2 2006 9 2
2006 9 2 2006 11 11
2004 1 1 2005 1 1
2000 1 1 2006 1 1
963 1 1 2101 1 1
-1 -1 -1 -1 -1 -1
 2006 9 2 522 9 3
2006 9 1 2006 11 11
2004 1 1 2005 1 1
2000 1 1 2006 1 1
2000 1 1 2101 2 1
-1 -1 -1 -1 -1 -1

-542019
70
366
2192
36890
 0
70
366
2192
36890
 -542019
71
366
2192
36890
 0
69
366
2192
36890
 -542019
71
365
2192
36890
 -542019
71
365
311552
36890
 -542019
71
365
653054
36890
 -542019
70
366
2192
-219875
 0
70
366
2192
415646
 -542019
71
366
2192
36921

Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>

int main(void) {
	int y1,m1,d1,y2,m2,d2,s,f,i;
	while(scanf("%d%d%d%d%d%d",&y1,&m1,&d1,&y2,&m2,&d2) , y1 > 0 && m1 > 0 && d1 > 0 && y2 > 0 && m2 > 0 && d2 > 0){
		s = 0;f = 0;
		for(i = 1;i < y1;i++){
			if((i % 4 == 0 && i % 100 != 0) || i % 400 == 0){s+=366;}
			else{s+=365;}
		}
		if((y1 % 4 == 0 && y1 % 100 != 0) || y1 % 400 == 0){
			if(m1 == 1){s+=d1;}
			if(m1 == 2){s+=(31+d1);}
			if(m1 == 3){s+=(60+d1);}
			if(m1 == 4){s+=(91+d1);}
			if(m1 == 5){s+=(121+d1);}
			if(m1 == 6){s+=(152+d1);}
			if(m1 == 7){s+=(182+d1);}
			if(m1 == 8){s+=(213+d1);}
			if(m1 == 9){s+=(244+d1);}
			if(m1 == 10){s+=(274+d1);}
			if(m1 == 11){s+=(305+d1);}
			if(m1 == 12){s+=(335+d1);}
		}
		else{
			if(m1 == 1){s+=d1;}
			if(m1 == 2){s+=(31+d1);}
			if(m1 == 3){s+=(59+d1);}
			if(m1 == 4){s+=(90+d1);}
			if(m1 == 5){s+=(120+d1);}
			if(m1 == 6){s+=(151+d1);}
			if(m1 == 7){s+=(181+d1);}
			if(m1 == 8){s+=(212+d1);}
			if(m1 == 9){s+=(243+d1);}
			if(m1 == 10){s+=(273+d1);}
			if(m1 == 11){s+=(304+d1);}
			if(m1 == 12){s+=(334+d1);}
		}
		for(i = 1;i < y2;i++){
			if((i % 4 == 0 && i % 100 != 0) || i % 400 == 0){f+=366;}
			else{f+=365;}
		}
		if((y2 % 4 == 0 && y2 % 100 != 0) || y2 % 400 == 0){
			if(m2 == 1){f+=d2;}
			if(m2 == 2){f+=(31+d2);}
			if(m2 == 3){f+=(60+d2);}
			if(m2 == 4){f+=(91+d2);}
			if(m2 == 5){f+=(121+d2);}
			if(m2 == 6){f+=(152+d2);}
			if(m2 == 7){f+=(182+d2);}
			if(m2 == 8){f+=(213+d2);}
			if(m2 == 9){f+=(244+d2);}
			if(m2 == 10){f+=(274+d2);}
			if(m2 == 11){f+=(305+d2);}
			if(m2 == 12){f+=(335+d2);}
		}
		else{
			if(m2 == 1){f+=d2;}
			if(m2 == 2){f+=(31+d2);}
			if(m2 == 3){f+=(59+d2);}
			if(m2 == 4){f+=(90+d2);}
			if(m2 == 5){f+=(120+d2);}
			if(m2 == 6){f+=(151+d2);}
			if(m2 == 7){f+=(181+d2);}
			if(m2 == 8){f+=(212+d2);}
			if(m2 == 9){f+=(243+d2);}
			if(m2 == 10){f+=(273+d2);}
			if(m2 == 11){f+=(304+d2);}
			if(m2 == 12){f+=(334+d2);}
		}
		printf("%d\n",f-s);
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d\n"
.LC1:
	.string	"%d%d%d%d%d%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	jmp	.L2
.L71:
	movl	$0, -20(%rbp)
	movl	$0, -16(%rbp)
	movl	$1, -12(%rbp)
	jmp	.L3
.L8:
	movl	-12(%rbp), %eax
	andl	$3, %eax
	testl	%eax, %eax
	jne	.L4
	movl	-12(%rbp), %edx
	movslq	%edx, %rax
	imulq	$1374389535, %rax, %rax
	shrq	$32, %rax
	sarl	$5, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$100, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testl	%eax, %eax
	jne	.L5
.L4:
	movl	-12(%rbp), %edx
	movslq	%edx, %rax
	imulq	$1374389535, %rax, %rax
	shrq	$32, %rax
	sarl	$7, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$400, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testl	%eax, %eax
	jne	.L6
.L5:
	addl	$366, -20(%rbp)
	jmp	.L7
.L6:
	addl	$365, -20(%rbp)
.L7:
	addl	$1, -12(%rbp)
.L3:
	movl	-44(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L8
	movl	-44(%rbp), %eax
	andl	$3, %eax
	testl	%eax, %eax
	jne	.L9
	movl	-44(%rbp), %edx
	movslq	%edx, %rax
	imulq	$1374389535, %rax, %rax
	shrq	$32, %rax
	sarl	$5, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$100, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testl	%eax, %eax
	jne	.L10
.L9:
	movl	-44(%rbp), %edx
	movslq	%edx, %rax
	imulq	$1374389535, %rax, %rax
	shrq	$32, %rax
	sarl	$7, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$400, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testl	%eax, %eax
	jne	.L11
.L10:
	movl	-40(%rbp), %eax
	cmpl	$1, %eax
	jne	.L12
	movl	-36(%rbp), %eax
	addl	%eax, -20(%rbp)
.L12:
	movl	-40(%rbp), %eax
	cmpl	$2, %eax
	jne	.L13
	movl	-36(%rbp), %eax
	addl	$31, %eax
	addl	%eax, -20(%rbp)
.L13:
	movl	-40(%rbp), %eax
	cmpl	$3, %eax
	jne	.L14
	movl	-36(%rbp), %eax
	addl	$60, %eax
	addl	%eax, -20(%rbp)
.L14:
	movl	-40(%rbp), %eax
	cmpl	$4, %eax
	jne	.L15
	movl	-36(%rbp), %eax
	addl	$91, %eax
	addl	%eax, -20(%rbp)
.L15:
	movl	-40(%rbp), %eax
	cmpl	$5, %eax
	jne	.L16
	movl	-36(%rbp), %eax
	addl	$121, %eax
	addl	%eax, -20(%rbp)
.L16:
	movl	-40(%rbp), %eax
	cmpl	$6, %eax
	jne	.L17
	movl	-36(%rbp), %eax
	addl	$152, %eax
	addl	%eax, -20(%rbp)
.L17:
	movl	-40(%rbp), %eax
	cmpl	$7, %eax
	jne	.L18
	movl	-36(%rbp), %eax
	addl	$182, %eax
	addl	%eax, -20(%rbp)
.L18:
	movl	-40(%rbp), %eax
	cmpl	$8, %eax
	jne	.L19
	movl	-36(%rbp), %eax
	addl	$213, %eax
	addl	%eax, -20(%rbp)
.L19:
	movl	-40(%rbp), %eax
	cmpl	$9, %eax
	jne	.L20
	movl	-36(%rbp), %eax
	addl	$244, %eax
	addl	%eax, -20(%rbp)
.L20:
	movl	-40(%rbp), %eax
	cmpl	$10, %eax
	jne	.L21
	movl	-36(%rbp), %eax
	addl	$274, %eax
	addl	%eax, -20(%rbp)
.L21:
	movl	-40(%rbp), %eax
	cmpl	$11, %eax
	jne	.L22
	movl	-36(%rbp), %eax
	addl	$305, %eax
	addl	%eax, -20(%rbp)
.L22:
	movl	-40(%rbp), %eax
	cmpl	$12, %eax
	jne	.L24
	movl	-36(%rbp), %eax
	addl	$335, %eax
	addl	%eax, -20(%rbp)
	jmp	.L24
.L11:
	movl	-40(%rbp), %eax
	cmpl	$1, %eax
	jne	.L25
	movl	-36(%rbp), %eax
	addl	%eax, -20(%rbp)
.L25:
	movl	-40(%rbp), %eax
	cmpl	$2, %eax
	jne	.L26
	movl	-36(%rbp), %eax
	addl	$31, %eax
	addl	%eax, -20(%rbp)
.L26:
	movl	-40(%rbp), %eax
	cmpl	$3, %eax
	jne	.L27
	movl	-36(%rbp), %eax
	addl	$59, %eax
	addl	%eax, -20(%rbp)
.L27:
	movl	-40(%rbp), %eax
	cmpl	$4, %eax
	jne	.L28
	movl	-36(%rbp), %eax
	addl	$90, %eax
	addl	%eax, -20(%rbp)
.L28:
	movl	-40(%rbp), %eax
	cmpl	$5, %eax
	jne	.L29
	movl	-36(%rbp), %eax
	addl	$120, %eax
	addl	%eax, -20(%rbp)
.L29:
	movl	-40(%rbp), %eax
	cmpl	$6, %eax
	jne	.L30
	movl	-36(%rbp), %eax
	addl	$151, %eax
	addl	%eax, -20(%rbp)
.L30:
	movl	-40(%rbp), %eax
	cmpl	$7, %eax
	jne	.L31
	movl	-36(%rbp), %eax
	addl	$181, %eax
	addl	%eax, -20(%rbp)
.L31:
	movl	-40(%rbp), %eax
	cmpl	$8, %eax
	jne	.L32
	movl	-36(%rbp), %eax
	addl	$212, %eax
	addl	%eax, -20(%rbp)
.L32:
	movl	-40(%rbp), %eax
	cmpl	$9, %eax
	jne	.L33
	movl	-36(%rbp), %eax
	addl	$243, %eax
	addl	%eax, -20(%rbp)
.L33:
	movl	-40(%rbp), %eax
	cmpl	$10, %eax
	jne	.L34
	movl	-36(%rbp), %eax
	addl	$273, %eax
	addl	%eax, -20(%rbp)
.L34:
	movl	-40(%rbp), %eax
	cmpl	$11, %eax
	jne	.L35
	movl	-36(%rbp), %eax
	addl	$304, %eax
	addl	%eax, -20(%rbp)
.L35:
	movl	-40(%rbp), %eax
	cmpl	$12, %eax
	jne	.L24
	movl	-36(%rbp), %eax
	addl	$334, %eax
	addl	%eax, -20(%rbp)
.L24:
	movl	$1, -12(%rbp)
	jmp	.L36
.L41:
	movl	-12(%rbp), %eax
	andl	$3, %eax
	testl	%eax, %eax
	jne	.L37
	movl	-12(%rbp), %edx
	movslq	%edx, %rax
	imulq	$1374389535, %rax, %rax
	shrq	$32, %rax
	sarl	$5, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$100, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testl	%eax, %eax
	jne	.L38
.L37:
	movl	-12(%rbp), %edx
	movslq	%edx, %rax
	imulq	$1374389535, %rax, %rax
	shrq	$32, %rax
	sarl	$7, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$400, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testl	%eax, %eax
	jne	.L39
.L38:
	addl	$366, -16(%rbp)
	jmp	.L40
.L39:
	addl	$365, -16(%rbp)
.L40:
	addl	$1, -12(%rbp)
.L36:
	movl	-32(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L41
	movl	-32(%rbp), %eax
	andl	$3, %eax
	testl	%eax, %eax
	jne	.L42
	movl	-32(%rbp), %edx
	movslq	%edx, %rax
	imulq	$1374389535, %rax, %rax
	shrq	$32, %rax
	sarl	$5, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$100, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testl	%eax, %eax
	jne	.L43
.L42:
	movl	-32(%rbp), %edx
	movslq	%edx, %rax
	imulq	$1374389535, %rax, %rax
	shrq	$32, %rax
	sarl	$7, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$400, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testl	%eax, %eax
	jne	.L44
.L43:
	movl	-28(%rbp), %eax
	cmpl	$1, %eax
	jne	.L45
	movl	-24(%rbp), %eax
	addl	%eax, -16(%rbp)
.L45:
	movl	-28(%rbp), %eax
	cmpl	$2, %eax
	jne	.L46
	movl	-24(%rbp), %eax
	addl	$31, %eax
	addl	%eax, -16(%rbp)
.L46:
	movl	-28(%rbp), %eax
	cmpl	$3, %eax
	jne	.L47
	movl	-24(%rbp), %eax
	addl	$60, %eax
	addl	%eax, -16(%rbp)
.L47:
	movl	-28(%rbp), %eax
	cmpl	$4, %eax
	jne	.L48
	movl	-24(%rbp), %eax
	addl	$91, %eax
	addl	%eax, -16(%rbp)
.L48:
	movl	-28(%rbp), %eax
	cmpl	$5, %eax
	jne	.L49
	movl	-24(%rbp), %eax
	addl	$121, %eax
	addl	%eax, -16(%rbp)
.L49:
	movl	-28(%rbp), %eax
	cmpl	$6, %eax
	jne	.L50
	movl	-24(%rbp), %eax
	addl	$152, %eax
	addl	%eax, -16(%rbp)
.L50:
	movl	-28(%rbp), %eax
	cmpl	$7, %eax
	jne	.L51
	movl	-24(%rbp), %eax
	addl	$182, %eax
	addl	%eax, -16(%rbp)
.L51:
	movl	-28(%rbp), %eax
	cmpl	$8, %eax
	jne	.L52
	movl	-24(%rbp), %eax
	addl	$213, %eax
	addl	%eax, -16(%rbp)
.L52:
	movl	-28(%rbp), %eax
	cmpl	$9, %eax
	jne	.L53
	movl	-24(%rbp), %eax
	addl	$244, %eax
	addl	%eax, -16(%rbp)
.L53:
	movl	-28(%rbp), %eax
	cmpl	$10, %eax
	jne	.L54
	movl	-24(%rbp), %eax
	addl	$274, %eax
	addl	%eax, -16(%rbp)
.L54:
	movl	-28(%rbp), %eax
	cmpl	$11, %eax
	jne	.L55
	movl	-24(%rbp), %eax
	addl	$305, %eax
	addl	%eax, -16(%rbp)
.L55:
	movl	-28(%rbp), %eax
	cmpl	$12, %eax
	jne	.L57
	movl	-24(%rbp), %eax
	addl	$335, %eax
	addl	%eax, -16(%rbp)
	jmp	.L57
.L44:
	movl	-28(%rbp), %eax
	cmpl	$1, %eax
	jne	.L58
	movl	-24(%rbp), %eax
	addl	%eax, -16(%rbp)
.L58:
	movl	-28(%rbp), %eax
	cmpl	$2, %eax
	jne	.L59
	movl	-24(%rbp), %eax
	addl	$31, %eax
	addl	%eax, -16(%rbp)
.L59:
	movl	-28(%rbp), %eax
	cmpl	$3, %eax
	jne	.L60
	movl	-24(%rbp), %eax
	addl	$59, %eax
	addl	%eax, -16(%rbp)
.L60:
	movl	-28(%rbp), %eax
	cmpl	$4, %eax
	jne	.L61
	movl	-24(%rbp), %eax
	addl	$90, %eax
	addl	%eax, -16(%rbp)
.L61:
	movl	-28(%rbp), %eax
	cmpl	$5, %eax
	jne	.L62
	movl	-24(%rbp), %eax
	addl	$120, %eax
	addl	%eax, -16(%rbp)
.L62:
	movl	-28(%rbp), %eax
	cmpl	$6, %eax
	jne	.L63
	movl	-24(%rbp), %eax
	addl	$151, %eax
	addl	%eax, -16(%rbp)
.L63:
	movl	-28(%rbp), %eax
	cmpl	$7, %eax
	jne	.L64
	movl	-24(%rbp), %eax
	addl	$181, %eax
	addl	%eax, -16(%rbp)
.L64:
	movl	-28(%rbp), %eax
	cmpl	$8, %eax
	jne	.L65
	movl	-24(%rbp), %eax
	addl	$212, %eax
	addl	%eax, -16(%rbp)
.L65:
	movl	-28(%rbp), %eax
	cmpl	$9, %eax
	jne	.L66
	movl	-24(%rbp), %eax
	addl	$243, %eax
	addl	%eax, -16(%rbp)
.L66:
	movl	-28(%rbp), %eax
	cmpl	$10, %eax
	jne	.L67
	movl	-24(%rbp), %eax
	addl	$273, %eax
	addl	%eax, -16(%rbp)
.L67:
	movl	-28(%rbp), %eax
	cmpl	$11, %eax
	jne	.L68
	movl	-24(%rbp), %eax
	addl	$304, %eax
	addl	%eax, -16(%rbp)
.L68:
	movl	-28(%rbp), %eax
	cmpl	$12, %eax
	jne	.L57
	movl	-24(%rbp), %eax
	addl	$334, %eax
	addl	%eax, -16(%rbp)
.L57:
	movl	-16(%rbp), %eax
	subl	-20(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L2:
	leaq	-28(%rbp), %r8
	leaq	-32(%rbp), %rdi
	leaq	-36(%rbp), %rcx
	leaq	-40(%rbp), %rdx
	leaq	-44(%rbp), %rax
	subq	$8, %rsp
	leaq	-24(%rbp), %rsi
	pushq	%rsi
	movq	%r8, %r9
	movq	%rdi, %r8
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$16, %rsp
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jle	.L69
	movl	-40(%rbp), %eax
	testl	%eax, %eax
	jle	.L69
	movl	-36(%rbp), %eax
	testl	%eax, %eax
	jle	.L69
	movl	-32(%rbp), %eax
	testl	%eax, %eax
	jle	.L69
	movl	-28(%rbp), %eax
	testl	%eax, %eax
	jle	.L69
	movl	-24(%rbp), %eax
	testl	%eax, %eax
	jle	.L69
	movl	$1, %eax
	jmp	.L70
.L69:
	movl	$0, %eax
.L70:
	testl	%eax, %eax
	jne	.L71
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L73
	call	__stack_chk_fail@PLT
.L73:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
train
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d\n"
.LC1:
	.string	"%d%d%d%d%d%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	jmp	.L2
.L71:
	movl	$0, -20(%rbp)
	movl	$0, -16(%rbp)
	movl	$1, -12(%rbp)
	jmp	.L3
.L8:
	movl	-12(%rbp), %eax
	andl	$3, %eax
	testl	%eax, %eax
	jne	.L4
	movl	-12(%rbp), %edx
	movslq	%edx, %rax
	imulq	$1374389535, %rax, %rax
	shrq	$32, %rax
	sarl	$5, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$100, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testl	%eax, %eax
	jne	.L5
.L4:
	movl	-12(%rbp), %edx
	movslq	%edx, %rax
	imulq	$1374389535, %rax, %rax
	shrq	$32, %rax
	sarl	$7, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$400, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testl	%eax, %eax
	jne	.L6
.L5:
	addl	$366, -20(%rbp)
	jmp	.L7
.L6:
	addl	$365, -20(%rbp)
.L7:
	addl	$1, -12(%rbp)
.L3:
	movl	-44(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L8
	movl	-44(%rbp), %eax
	andl	$3, %eax
	testl	%eax, %eax
	jne	.L9
	movl	-44(%rbp), %edx
	movslq	%edx, %rax
	imulq	$1374389535, %rax, %rax
	shrq	$32, %rax
	sarl	$5, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$100, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testl	%eax, %eax
	jne	.L10
.L9:
	movl	-44(%rbp), %edx
	movslq	%edx, %rax
	imulq	$1374389535, %rax, %rax
	shrq	$32, %rax
	sarl	$7, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$400, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testl	%eax, %eax
	jne	.L11
.L10:
	movl	-40(%rbp), %eax
	cmpl	$1, %eax
	jne	.L12
	movl	-36(%rbp), %eax
	addl	%eax, -20(%rbp)
.L12:
	movl	-40(%rbp), %eax
	cmpl	$2, %eax
	jne	.L13
	movl	-36(%rbp), %eax
	addl	$31, %eax
	addl	%eax, -20(%rbp)
.L13:
	movl	-40(%rbp), %eax
	cmpl	$3, %eax
	jne	.L14
	movl	-36(%rbp), %eax
	addl	$60, %eax
	addl	%eax, -20(%rbp)
.L14:
	movl	-40(%rbp), %eax
	cmpl	$4, %eax
	jne	.L15
	movl	-36(%rbp), %eax
	addl	$91, %eax
	addl	%eax, -20(%rbp)
.L15:
	movl	-40(%rbp), %eax
	cmpl	$5, %eax
	jne	.L16
	movl	-36(%rbp), %eax
	addl	$121, %eax
	addl	%eax, -20(%rbp)
.L16:
	movl	-40(%rbp), %eax
	cmpl	$6, %eax
	jne	.L17
	movl	-36(%rbp), %eax
	addl	$152, %eax
	addl	%eax, -20(%rbp)
.L17:
	movl	-40(%rbp), %eax
	cmpl	$7, %eax
	jne	.L18
	movl	-36(%rbp), %eax
	addl	$182, %eax
	addl	%eax, -20(%rbp)
.L18:
	movl	-40(%rbp), %eax
	cmpl	$8, %eax
	jne	.L19
	movl	-36(%rbp), %eax
	addl	$213, %eax
	addl	%eax, -20(%rbp)
.L19:
	movl	-40(%rbp), %eax
	cmpl	$9, %eax
	jne	.L20
	movl	-36(%rbp), %eax
	addl	$244, %eax
	addl	%eax, -20(%rbp)
.L20:
	movl	-40(%rbp), %eax
	cmpl	$10, %eax
	jne	.L21
	movl	-36(%rbp), %eax
	addl	$274, %eax
	addl	%eax, -20(%rbp)
.L21:
	movl	-40(%rbp), %eax
	cmpl	$11, %eax
	jne	.L22
	movl	-36(%rbp), %eax
	addl	$305, %eax
	addl	%eax, -20(%rbp)
.L22:
	movl	-40(%rbp), %eax
	cmpl	$12, %eax
	jne	.L24
	movl	-36(%rbp), %eax
	addl	$335, %eax
	addl	%eax, -20(%rbp)
	jmp	.L24
.L11:
	movl	-40(%rbp), %eax
	cmpl	$1, %eax
	jne	.L25
	movl	-36(%rbp), %eax
	addl	%eax, -20(%rbp)
.L25:
	movl	-40(%rbp), %eax
	cmpl	$2, %eax
	jne	.L26
	movl	-36(%rbp), %eax
	addl	$31, %eax
	addl	%eax, -20(%rbp)
.L26:
	movl	-40(%rbp), %eax
	cmpl	$3, %eax
	jne	.L27
	movl	-36(%rbp), %eax
	addl	$59, %eax
	addl	%eax, -20(%rbp)
.L27:
	movl	-40(%rbp), %eax
	cmpl	$4, %eax
	jne	.L28
	movl	-36(%rbp), %eax
	addl	$90, %eax
	addl	%eax, -20(%rbp)
.L28:
	movl	-40(%rbp), %eax
	cmpl	$5, %eax
	jne	.L29
	movl	-36(%rbp), %eax
	addl	$120, %eax
	addl	%eax, -20(%rbp)
.L29:
	movl	-40(%rbp), %eax
	cmpl	$6, %eax
	jne	.L30
	movl	-36(%rbp), %eax
	addl	$151, %eax
	addl	%eax, -20(%rbp)
.L30:
	movl	-40(%rbp), %eax
	cmpl	$7, %eax
	jne	.L31
	movl	-36(%rbp), %eax
	addl	$181, %eax
	addl	%eax, -20(%rbp)
.L31:
	movl	-40(%rbp), %eax
	cmpl	$8, %eax
	jne	.L32
	movl	-36(%rbp), %eax
	addl	$212, %eax
	addl	%eax, -20(%rbp)
.L32:
	movl	-40(%rbp), %eax
	cmpl	$9, %eax
	jne	.L33
	movl	-36(%rbp), %eax
	addl	$243, %eax
	addl	%eax, -20(%rbp)
.L33:
	movl	-40(%rbp), %eax
	cmpl	$10, %eax
	jne	.L34
	movl	-36(%rbp), %eax
	addl	$273, %eax
	addl	%eax, -20(%rbp)
.L34:
	movl	-40(%rbp), %eax
	cmpl	$11, %eax
	jne	.L35
	movl	-36(%rbp), %eax
	addl	$304, %eax
	addl	%eax, -20(%rbp)
.L35:
	movl	-40(%rbp), %eax
	cmpl	$12, %eax
	jne	.L24
	movl	-36(%rbp), %eax
	addl	$334, %eax
	addl	%eax, -20(%rbp)
.L24:
	movl	$1, -12(%rbp)
	jmp	.L36
.L41:
	movl	-12(%rbp), %eax
	andl	$3, %eax
	testl	%eax, %eax
	jne	.L37
	movl	-12(%rbp), %edx
	movslq	%edx, %rax
	imulq	$1374389535, %rax, %rax
	shrq	$32, %rax
	sarl	$5, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$100, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testl	%eax, %eax
	jne	.L38
.L37:
	movl	-12(%rbp), %edx
	movslq	%edx, %rax
	imulq	$1374389535, %rax, %rax
	shrq	$32, %rax
	sarl	$7, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$400, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testl	%eax, %eax
	jne	.L39
.L38:
	addl	$366, -16(%rbp)
	jmp	.L40
.L39:
	addl	$365, -16(%rbp)
.L40:
	addl	$1, -12(%rbp)
.L36:
	movl	-32(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L41
	movl	-32(%rbp), %eax
	andl	$3, %eax
	testl	%eax, %eax
	jne	.L42
	movl	-32(%rbp), %edx
	movslq	%edx, %rax
	imulq	$1374389535, %rax, %rax
	shrq	$32, %rax
	sarl	$5, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$100, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testl	%eax, %eax
	jne	.L43
.L42:
	movl	-32(%rbp), %edx
	movslq	%edx, %rax
	imulq	$1374389535, %rax, %rax
	shrq	$32, %rax
	sarl	$7, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$400, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testl	%eax, %eax
	jne	.L44
.L43:
	movl	-28(%rbp), %eax
	cmpl	$1, %eax
	jne	.L45
	movl	-24(%rbp), %eax
	addl	%eax, -16(%rbp)
.L45:
	movl	-28(%rbp), %eax
	cmpl	$2, %eax
	jne	.L46
	movl	-24(%rbp), %eax
	addl	$31, %eax
	addl	%eax, -16(%rbp)
.L46:
	movl	-28(%rbp), %eax
	cmpl	$3, %eax
	jne	.L47
	movl	-24(%rbp), %eax
	addl	$60, %eax
	addl	%eax, -16(%rbp)
.L47:
	movl	-28(%rbp), %eax
	cmpl	$4, %eax
	jne	.L48
	movl	-24(%rbp), %eax
	addl	$91, %eax
	addl	%eax, -16(%rbp)
.L48:
	movl	-28(%rbp), %eax
	cmpl	$5, %eax
	jne	.L49
	movl	-24(%rbp), %eax
	addl	$121, %eax
	addl	%eax, -16(%rbp)
.L49:
	movl	-28(%rbp), %eax
	cmpl	$6, %eax
	jne	.L50
	movl	-24(%rbp), %eax
	addl	$152, %eax
	addl	%eax, -16(%rbp)
.L50:
	movl	-28(%rbp), %eax
	cmpl	$7, %eax
	jne	.L51
	movl	-24(%rbp), %eax
	addl	$182, %eax
	addl	%eax, -16(%rbp)
.L51:
	movl	-28(%rbp), %eax
	cmpl	$8, %eax
	jne	.L52
	movl	-24(%rbp), %eax
	addl	$213, %eax
	addl	%eax, -16(%rbp)
.L52:
	movl	-28(%rbp), %eax
	cmpl	$9, %eax
	jne	.L53
	movl	-24(%rbp), %eax
	addl	$244, %eax
	addl	%eax, -16(%rbp)
.L53:
	movl	-28(%rbp), %eax
	cmpl	$10, %eax
	jne	.L54
	movl	-24(%rbp), %eax
	addl	$274, %eax
	addl	%eax, -16(%rbp)
.L54:
	movl	-28(%rbp), %eax
	cmpl	$11, %eax
	jne	.L55
	movl	-24(%rbp), %eax
	addl	$305, %eax
	addl	%eax, -16(%rbp)
.L55:
	movl	-28(%rbp), %eax
	cmpl	$12, %eax
	jne	.L57
	movl	-24(%rbp), %eax
	addl	$335, %eax
	addl	%eax, -16(%rbp)
	jmp	.L57
.L44:
	movl	-28(%rbp), %eax
	cmpl	$1, %eax
	jne	.L58
	movl	-24(%rbp), %eax
	addl	%eax, -16(%rbp)
.L58:
	movl	-28(%rbp), %eax
	cmpl	$2, %eax
	jne	.L59
	movl	-24(%rbp), %eax
	addl	$31, %eax
	addl	%eax, -16(%rbp)
.L59:
	movl	-28(%rbp), %eax
	cmpl	$3, %eax
	jne	.L60
	movl	-24(%rbp), %eax
	addl	$59, %eax
	addl	%eax, -16(%rbp)
.L60:
	movl	-28(%rbp), %eax
	cmpl	$4, %eax
	jne	.L61
	movl	-24(%rbp), %eax
	addl	$90, %eax
	addl	%eax, -16(%rbp)
.L61:
	movl	-28(%rbp), %eax
	cmpl	$5, %eax
	jne	.L62
	movl	-24(%rbp), %eax
	addl	$120, %eax
	addl	%eax, -16(%rbp)
.L62:
	movl	-28(%rbp), %eax
	cmpl	$6, %eax
	jne	.L63
	movl	-24(%rbp), %eax
	addl	$151, %eax
	addl	%eax, -16(%rbp)
.L63:
	movl	-28(%rbp), %eax
	cmpl	$7, %eax
	jne	.L64
	movl	-24(%rbp), %eax
	addl	$181, %eax
	addl	%eax, -16(%rbp)
.L64:
	movl	-28(%rbp), %eax
	cmpl	$8, %eax
	jne	.L65
	movl	-24(%rbp), %eax
	addl	$212, %eax
	addl	%eax, -16(%rbp)
.L65:
	movl	-28(%rbp), %eax
	cmpl	$9, %eax
	jne	.L66
	movl	-24(%rbp), %eax
	addl	$243, %eax
	addl	%eax, -16(%rbp)
.L66:
	movl	-28(%rbp), %eax
	cmpl	$10, %eax
	jne	.L67
	movl	-24(%rbp), %eax
	addl	$273, %eax
	addl	%eax, -16(%rbp)
.L67:
	movl	-28(%rbp), %eax
	cmpl	$11, %eax
	jne	.L68
	movl	-24(%rbp), %eax
	addl	$304, %eax
	addl	%eax, -16(%rbp)
.L68:
	movl	-28(%rbp), %eax
	cmpl	$12, %eax
	jne	.L57
	movl	-24(%rbp), %eax
	addl	$334, %eax
	addl	%eax, -16(%rbp)
.L57:
	movl	-16(%rbp), %eax
	subl	-20(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L2:
	leaq	-28(%rbp), %r8
	leaq	-32(%rbp), %rdi
	leaq	-36(%rbp), %rcx
	leaq	-40(%rbp), %rdx
	leaq	-44(%rbp), %rax
	subq	$8, %rsp
	leaq	-24(%rbp), %rsi
	pushq	%rsi
	movq	%r8, %r9
	movq	%rdi, %r8
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$16, %rsp
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jle	.L69
	movl	-40(%rbp), %eax
	testl	%eax, %eax
	jle	.L69
	movl	-36(%rbp), %eax
	testl	%eax, %eax
	jle	.L69
	movl	-32(%rbp), %eax
	testl	%eax, %eax
	jle	.L69
	movl	-28(%rbp), %eax
	testl	%eax, %eax
	jle	.L69
	movl	-24(%rbp), %eax
	testl	%eax, %eax
	jle	.L69
	movl	$1, %eax
	jmp	.L70
.L69:
	movl	$0, %eax
.L70:
	testl	%eax, %eax
	jne	.L71
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L73
	call	__stack_chk_fail@PLT
.L73:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
