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

```c
#include <stdio.h>

int H,W;

char field[10][10];

int main(){
  scanf("%d %d",&H,&W);
  int i,j;
  for (i = 0; i < H; i++) {
    scanf("%s",field[i]);
  }
  int ans = 0;
  for ( i = 0; i < H; i++) {
    for ( j = 0; j < W; j++) {
      if (field[i][j] == '#') ans+=1;
    }
  }
  if (ans == H+W-1) printf("Possible\n");
  else printf("Impossible\n" );

  return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"Possible"
.LC3:
	.string	"Impossible"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	W(%rip), %rdx
	leaq	H(%rip), %rsi
	xorl	%eax, %eax
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	.LC0(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	call	__isoc99_scanf@PLT
	movl	H(%rip), %ecx
	testl	%ecx, %ecx
	jle	.L2
	leaq	field(%rip), %rbx
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r13
	movq	%rbx, %r12
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	H(%rip), %ecx
	addq	$10, %r12
	cmpl	%ebp, %ecx
	jg	.L3
	movl	W(%rip), %edx
	testl	%ecx, %ecx
	jle	.L21
	leal	-1(%rcx), %eax
	leaq	(%rax,%rax,4), %rsi
	leaq	10+field(%rip), %rax
	leaq	(%rax,%rsi,2), %rdi
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L5:
	testl	%edx, %edx
	jle	.L18
	xorl	%esi, %esi
	cmpb	$35, (%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$1, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 1(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$2, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 2(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$3, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 3(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$4, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 4(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$5, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 5(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$6, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 6(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$7, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 7(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$8, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 8(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$9, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 9(%rbx)
	sete	%sil
	addl	%esi, %eax
.L18:
	addq	$10, %rbx
	cmpq	%rdi, %rbx
	jne	.L5
.L4:
	leal	-1(%rcx,%rdx), %edx
	cmpl	%eax, %edx
	je	.L52
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L20:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L52:
	.cfi_restore_state
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L20
.L2:
	movl	W(%rip), %edx
	xorl	%eax, %eax
	jmp	.L4
.L21:
	xorl	%eax, %eax
	jmp	.L4
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	field
	.bss
	.align 32
	.type	field, @object
	.size	field, 100
field:
	.zero	100
	.globl	W
	.align 4
	.type	W, @object
	.size	W, 4
W:
	.zero	4
	.globl	H
	.align 4
	.type	H, @object
	.size	H, 4
H:
	.zero	4
	.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.
Optimized Assembly Code:

user
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"Possible"
.LC3:
	.string	"Impossible"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	W(%rip), %rdx
	leaq	H(%rip), %rsi
	xorl	%eax, %eax
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	.LC0(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	call	__isoc99_scanf@PLT
	movl	H(%rip), %ecx
	testl	%ecx, %ecx
	jle	.L2
	leaq	field(%rip), %rbx
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r13
	movq	%rbx, %r12
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	H(%rip), %ecx
	addq	$10, %r12
	cmpl	%ebp, %ecx
	jg	.L3
	movl	W(%rip), %edx
	testl	%ecx, %ecx
	jle	.L21
	leal	-1(%rcx), %eax
	leaq	(%rax,%rax,4), %rsi
	leaq	10+field(%rip), %rax
	leaq	(%rax,%rsi,2), %rdi
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L5:
	testl	%edx, %edx
	jle	.L18
	xorl	%esi, %esi
	cmpb	$35, (%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$1, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 1(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$2, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 2(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$3, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 3(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$4, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 4(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$5, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 5(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$6, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 6(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$7, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 7(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$8, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 8(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$9, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 9(%rbx)
	sete	%sil
	addl	%esi, %eax
.L18:
	addq	$10, %rbx
	cmpq	%rdi, %rbx
	jne	.L5
.L4:
	leal	-1(%rcx,%rdx), %edx
	cmpl	%eax, %edx
	je	.L52
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L20:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L52:
	.cfi_restore_state
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L20
.L2:
	movl	W(%rip), %edx
	xorl	%eax, %eax
	jmp	.L4
.L21:
	xorl	%eax, %eax
	jmp	.L4
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	field
	.bss
	.align 32
	.type	field, @object
	.size	field, 100
field:
	.zero	100
	.globl	W
	.align 4
	.type	W, @object
	.size	W, 4
W:
	.zero	4
	.globl	H
	.align 4
	.type	H, @object
	.size	H, 4
H:
	.zero	4
	.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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"Possible"
.LC3:
	.string	"Impossible"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	W(%rip), %rdx
	leaq	H(%rip), %rsi
	xorl	%eax, %eax
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	.LC0(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	call	__isoc99_scanf@PLT
	movl	H(%rip), %ecx
	testl	%ecx, %ecx
	jle	.L2
	leaq	field(%rip), %rbx
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r13
	movq	%rbx, %r12
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	H(%rip), %ecx
	addq	$10, %r12
	cmpl	%ebp, %ecx
	jg	.L3
	movl	W(%rip), %edx
	testl	%ecx, %ecx
	jle	.L21
	leal	-1(%rcx), %eax
	leaq	(%rax,%rax,4), %rsi
	leaq	10+field(%rip), %rax
	leaq	(%rax,%rsi,2), %rdi
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L5:
	testl	%edx, %edx
	jle	.L18
	xorl	%esi, %esi
	cmpb	$35, (%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$1, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 1(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$2, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 2(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$3, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 3(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$4, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 4(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$5, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 5(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$6, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 6(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$7, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 7(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$8, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 8(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$9, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 9(%rbx)
	sete	%sil
	addl	%esi, %eax
.L18:
	addq	$10, %rbx
	cmpq	%rdi, %rbx
	jne	.L5
.L4:
	leal	-1(%rcx,%rdx), %edx
	cmpl	%eax, %edx
	je	.L52
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L20:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L52:
	.cfi_restore_state
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L20
.L2:
	movl	W(%rip), %edx
	xorl	%eax, %eax
	jmp	.L4
.L21:
	xorl	%eax, %eax
	jmp	.L4
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	field
	.bss
	.align 32
	.type	field, @object
	.size	field, 100
field:
	.zero	100
	.globl	W
	.align 4
	.type	W, @object
	.size	W, 4
W:
	.zero	4
	.globl	H
	.align 4
	.type	H, @object
	.size	H, 4
H:
	.zero	4
	.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:
```
```c
#include <stdio.h>

int H,W;

char field[10][10];

int main(){
  scanf("%d %d",&H,&W);
  int i,j;
  for (i = 0; i < H; i++) {
    scanf("%s",field[i]);
  }
  int ans = 0;
  for ( i = 0; i < H; i++) {
    for ( j = 0; j < W; j++) {
      if (field[i][j] == '#') ans+=1;
    }
  }
  if (ans == H+W-1) printf("Possible\n");
  else printf("Impossible\n" );

  return 0;
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>

int H,W;

char field[10][10];

int main(){
  scanf("%d %d",&H,&W);
  int i,j;
  for (i = 0; i < H; i++) {
    scanf("%s",field[i]);
  }
  int ans = 0;
  for ( i = 0; i < H; i++) {
    for ( j = 0; j < W; j++) {
      if (field[i][j] == '#') ans+=1;
    }
  }
  if (ans == H+W-1) printf("Possible\n");
  else printf("Impossible\n" );

  return 0;
}```

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.
Optimized Assembly Code:

5 1

..#

..
 4 5
...##
.##..
..##.
...##
 4 10
...
.###.
.###.
...##
 4 8
...
.##..
..##.
...##
 5 0

..#

..
 4 5
...##
.##/.
..##.
...##
 4 10
./.
.###.
.###.
...##
 4 8
...
.##/.
..##.
...##
 8 0

..#

..
 4 5
./.##
.##/.
..##.
...##

Impossible
 Possible
 Impossible
 Impossible
 Impossible
 Possible
 Impossible
 Impossible
 Impossible
 Possible

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

```c
#include <stdio.h>

int H,W;

char field[10][10];

int main(){
  scanf("%d %d",&H,&W);
  int i,j;
  for (i = 0; i < H; i++) {
    scanf("%s",field[i]);
  }
  int ans = 0;
  for ( i = 0; i < H; i++) {
    for ( j = 0; j < W; j++) {
      if (field[i][j] == '#') ans+=1;
    }
  }
  if (ans == H+W-1) printf("Possible\n");
  else printf("Impossible\n" );

  return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"Possible"
.LC3:
	.string	"Impossible"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	W(%rip), %rdx
	leaq	H(%rip), %rsi
	xorl	%eax, %eax
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	.LC0(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	call	__isoc99_scanf@PLT
	movl	H(%rip), %ecx
	testl	%ecx, %ecx
	jle	.L2
	leaq	field(%rip), %rbx
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r13
	movq	%rbx, %r12
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	H(%rip), %ecx
	addq	$10, %r12
	cmpl	%ebp, %ecx
	jg	.L3
	movl	W(%rip), %edx
	testl	%ecx, %ecx
	jle	.L21
	leal	-1(%rcx), %eax
	leaq	(%rax,%rax,4), %rsi
	leaq	10+field(%rip), %rax
	leaq	(%rax,%rsi,2), %rdi
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L5:
	testl	%edx, %edx
	jle	.L18
	xorl	%esi, %esi
	cmpb	$35, (%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$1, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 1(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$2, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 2(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$3, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 3(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$4, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 4(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$5, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 5(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$6, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 6(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$7, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 7(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$8, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 8(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$9, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 9(%rbx)
	sete	%sil
	addl	%esi, %eax
.L18:
	addq	$10, %rbx
	cmpq	%rdi, %rbx
	jne	.L5
.L4:
	leal	-1(%rcx,%rdx), %edx
	cmpl	%eax, %edx
	je	.L52
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L20:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L52:
	.cfi_restore_state
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L20
.L2:
	movl	W(%rip), %edx
	xorl	%eax, %eax
	jmp	.L4
.L21:
	xorl	%eax, %eax
	jmp	.L4
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	field
	.bss
	.align 32
	.type	field, @object
	.size	field, 100
field:
	.zero	100
	.globl	W
	.align 4
	.type	W, @object
	.size	W, 4
W:
	.zero	4
	.globl	H
	.align 4
	.type	H, @object
	.size	H, 4
H:
	.zero	4
	.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.
Optimized Assembly Code:

train
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"Possible"
.LC3:
	.string	"Impossible"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	W(%rip), %rdx
	leaq	H(%rip), %rsi
	xorl	%eax, %eax
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	.LC0(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	call	__isoc99_scanf@PLT
	movl	H(%rip), %ecx
	testl	%ecx, %ecx
	jle	.L2
	leaq	field(%rip), %rbx
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r13
	movq	%rbx, %r12
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	H(%rip), %ecx
	addq	$10, %r12
	cmpl	%ebp, %ecx
	jg	.L3
	movl	W(%rip), %edx
	testl	%ecx, %ecx
	jle	.L21
	leal	-1(%rcx), %eax
	leaq	(%rax,%rax,4), %rsi
	leaq	10+field(%rip), %rax
	leaq	(%rax,%rsi,2), %rdi
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L5:
	testl	%edx, %edx
	jle	.L18
	xorl	%esi, %esi
	cmpb	$35, (%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$1, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 1(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$2, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 2(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$3, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 3(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$4, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 4(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$5, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 5(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$6, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 6(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$7, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 7(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$8, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 8(%rbx)
	sete	%sil
	addl	%esi, %eax
	cmpl	$9, %edx
	je	.L18
	xorl	%esi, %esi
	cmpb	$35, 9(%rbx)
	sete	%sil
	addl	%esi, %eax
.L18:
	addq	$10, %rbx
	cmpq	%rdi, %rbx
	jne	.L5
.L4:
	leal	-1(%rcx,%rdx), %edx
	cmpl	%eax, %edx
	je	.L52
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L20:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L52:
	.cfi_restore_state
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L20
.L2:
	movl	W(%rip), %edx
	xorl	%eax, %eax
	jmp	.L4
.L21:
	xorl	%eax, %eax
	jmp	.L4
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	field
	.bss
	.align 32
	.type	field, @object
	.size	field, 100
field:
	.zero	100
	.globl	W
	.align 4
	.type	W, @object
	.size	W, 4
W:
	.zero	4
	.globl	H
	.align 4
	.type	H, @object
	.size	H, 4
H:
	.zero	4
	.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:
```