// File: /workspace/github_c_makefile_star2_O3/aligrudi[P]gpss/datgen.c
// Function: main
int main(int argc, char *argv[])
{
	int i, j;
	int pt;
	if (input(stdin))
		return 1;
	for (j = 0; j < pt_n; j++)
		pt_sorted[j] = j;
	pt = lowerleft();
	for (i = 0; i < pt_n - pt_min + 1; i++) {
		int cur = 1;
		sortpoints(pt);
		pt_mark[pt] = 1;
		while (cur < pt_n) {
			int beg = cur;
			int good = 1;
			while (cur < pt_n && collinear(pt, pt_sorted[beg], pt_sorted[cur]))
				cur++;
			if (cur - beg + 1 < pt_min)
				continue;
			for (j = beg; good && j < cur; j++)
				if (pt_mark[pt_sorted[j]])
					good = 0;
			if (good && cur - beg + 1 >= pt_min)
				line_add(pt, cur - beg, pt_sorted + beg);
		}
		pt = closestunmarked(pt);
	}
	printf("%d\n", ln_n);
	for (i = 0; i < ln_n; i++) {
		printf("%d", ln_cnt[i]);
		for (j = 0; j < ln_cnt[i]; j++)
			printf(" %d", ln[i][j]);
		printf("\n");
	}
	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq 0x2e4f(%rip), %rax      # 0x3fe0
movq (%rax), %rbx
leaq 0xeac(%rip), %rsi       # 0x2047
leaq 0x2ebe(%rip), %rdx      # 0x4060
movq %rbx, %rdi
xorl %eax, %eax
callq 0x1040
movl $0x1, %ebp
cmpl $0x1, %eax
jne 0x1669
cmpl $0x0, 0x2e9f(%rip)      # 0x4060
jle 0x15d4
leaq 0xb8a942(%rip), %r14    # 0xb8bb10
leaq 0xb80cfb(%rip), %r15    # 0xb81ed0
leaq 0xe68(%rip), %r12       # 0x2044
xorl %r13d, %r13d
movq %rbx, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
xorl %eax, %eax
callq 0x1040
cmpl $0x2, %eax
jne 0x1669
incq %r13
movslq 0x2e5b(%rip), %rax      # 0x4060
addq $0x4, %r14
addq $0x4, %r15
cmpq %rax, %r13
jl 0x11df
movl %eax, %r13d
testl %r13d, %r13d
jle 0x15d4
leal 0x1(%r13), %eax
andl $-0x2, %eax
leaq -0x1(%r13), %rcx
movq %rcx, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
movdqa 0xdd5(%rip), %xmm1      # 0x2010
xorl %ecx, %ecx
movdqa 0xddb(%rip), %xmm2      # 0x2020
pxor %xmm2, %xmm0
pcmpeqd %xmm3, %xmm3
movdqa 0xddb(%rip), %xmm4      # 0x2030
leaq 0x2e14(%rip), %rsi      # 0x4070
movdqa %xmm1, %xmm5
pxor %xmm2, %xmm5
movdqa %xmm5, %xmm6
pcmpgtd %xmm0, %xmm6
pcmpeqd %xmm0, %xmm5
pshufd $0xf5, %xmm5, %xmm7     # xmm7 = xmm5[1,1,3,3]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm6, %xmm5     # xmm5 = xmm6[1,1,3,3]
por %xmm7, %xmm5
movd %xmm5, %edx
notl %edx
testb $0x1, %dl
je 0x1297
leaq 0x2ddc(%rip), %rdx      # 0x4070
movl %ecx, (%rdx,%rcx,4)
pxor %xmm3, %xmm5
pextrw $0x4, %xmm5, %edx
testb $0x1, %dl
je 0x12ac
leal 0x1(%rcx), %edx
movl %edx, 0x4(%rsi,%rcx,4)
addq $0x2, %rcx
paddq %xmm4, %xmm1
cmpq %rcx, %rax
jne 0x125c
cmpl $0x1, %r13d
je 0x15d4
xorl %r10d, %r10d
movl $0x1, %eax
leaq 0xb8a83e(%rip), %rbp    # 0xb8bb10
leaq 0xb80bf7(%rip), %rsi    # 0xb81ed0
movslq %r10d, %rcx
movl (%rbp,%rcx,4), %edx
cmpl %edx, (%rbp,%rax,4)
jge 0x12eb
movl %eax, %r10d
jmp 0x12f5
jne 0x12f5
movl (%rsi,%rax,4), %edx
cmpl (%rsi,%rcx,4), %edx
jl 0x12e6
incq %rax
cmpq %rax, %r13
jne 0x12d9
cmpl $0x2, %r13d
jle 0x15d4
movl 0xf0b3(%rip), %eax      # 0x103c0
movq %rax, (%rsp)
leal -0x1(%r13), %eax
movl %eax, 0x10(%rsp)
leal -0x3(%r13), %eax
movl %eax, 0xc(%rsp)
leaq (,%r13,4), %rdi
xorl %eax, %eax
leaq 0xb9441e(%rip), %r11    # 0xb95750
leaq 0xb9e057(%rip), %r12    # 0xb9f390
movq %r13, 0x28(%rsp)
movq %rdi, 0x18(%rsp)
movq %rax, 0x20(%rsp)
leaq 0x2d21(%rip), %rcx      # 0x4070
xorl %eax, %eax
cmpl %r10d, (%rcx)
je 0x1365
incq %rax
addq $0x4, %rcx
cmpq %rax, %r13
jne 0x1351
movq %r13, %rax
movl 0x2d05(%rip), %ecx      # 0x4070
leaq 0x2cfe(%rip), %rdx      # 0x4070
movl %ecx, (%rdx,%rax,4)
movl %r10d, 0x2cf4(%rip)     # 0x4070
movslq %r10d, %r15
leaq 0xb80b4a(%rip), %rax    # 0xb81ed0
movslq (%rax,%r15,4), %rbx
movslq (%rbp,%r15,4), %r14
xorl %eax, %eax
leaq 0xb80b38(%rip), %rcx    # 0xb81ed0
movl (%rax,%rcx), %ecx
subl %ebx, %ecx
movl %ecx, (%rax,%r11)
movl (%rax,%rbp), %esi
movl %esi, %edx
subl %r14d, %edx
movl %edx, (%rax,%r12)
js 0x13b8
cmpl %r14d, %esi
jne 0x13c4
testl %ecx, %ecx
jle 0x13c4
negl %ecx
movl %ecx, (%rax,%r11)
negl %edx
movl %edx, (%rax,%r12)
addq $0x4, %rax
cmpq %rax, %rdi
jne 0x1391
movl %r10d, 0x14(%rsp)
leaq 0x2c9b(%rip), %rdi      # 0x4074
movl 0x10(%rsp), %esi
callq 0x167a
leaq 0xc8c7(%rip), %rax      # 0xdcb0
movb $0x1, (%r15,%rax)
movl $0x1, %r12d
movl %r12d, %edx
movl %r12d, %ecx
movslq %r12d, %rax
leaq 0x2c6c(%rip), %rsi      # 0x4070
leaq (%rsi,%rax,4), %r15
movslq (%r15), %rdi
leaq 0xb80abe(%rip), %rsi    # 0xb81ed0
movslq (%rsi,%rdi,4), %r8
movq %rbx, %rsi
subq %r8, %rsi
movslq (%rbp,%rdi,4), %r8
movq %r14, %rdi
subq %r8, %rdi
leal 0x1(%rax), %r12d
cmpl %r12d, %r13d
cmovgl %r13d, %r12d
xorl %r8d, %r8d
movslq (%r15,%r8,4), %r9
movslq (%rbp,%r9,4), %r10
movq %r14, %r11
subq %r10, %r11
imulq %rsi, %r11
leaq 0xb80a81(%rip), %r10    # 0xb81ed0
movslq (%r10,%r9,4), %r9
movq %rbx, %r10
subq %r9, %r10
imulq %rdi, %r10
cmpq %r10, %r11
jne 0x1473
leaq (%rax,%r8), %r9
incq %r9
incq %r8
cmpq %r13, %r9
jl 0x1435
jmp 0x1479
addl %ecx, %r8d
movl %r8d, %r12d
movl %r12d, %ebp
subl %edx, %ebp
cmpl $0x2, %ebp
jl 0x151e
cmpl %r12d, %ecx
jge 0x14bd
movslq %r12d, %rcx
incq %rax
movq %r15, %rdx
leaq 0xc814(%rip), %r8       # 0xdcb0
movslq (%rdx), %rsi
movb (%rsi,%r8), %sil
testb %sil, %sil
jne 0x14b8
addq $0x4, %rdx
leaq 0x1(%rax), %rdi
cmpq %rcx, %rax
movq %rdi, %rax
jl 0x149c
testb %sil, %sil
jne 0x151e
movl %ebp, %eax
movq %rax, 0x30(%rsp)
incl %ebp
leaq 0x4(,%rax,4), %rdi
callq 0x1070
movq (%rsp), %r13
movslq %r13d, %r13
leaq 0x3df7ef(%rip), %rcx    # 0x3e0cd0
movq %rax, (%rcx,%r13,8)
leaq 0xeee4(%rip), %rcx      # 0x103d0
movl %ebp, (%rcx,%r13,4)
movl 0x14(%rsp), %ecx
movl %ecx, (%rax)
leaq 0x4(%rax), %rdi
movq 0x30(%rsp), %rdx
shlq $0x2, %rdx
movq %r15, %rsi
callq 0x1060
incl %r13d
movq %r13, (%rsp)
movl %r13d, 0xeea7(%rip)     # 0x103c0
movq 0x28(%rsp), %r13
leaq 0xb8a5eb(%rip), %rbp    # 0xb8bb10
cmpl %r13d, %r12d
jl 0x13f4
movl $0xffffffff, %r10d      # imm = 0xFFFFFFFF
leaq 0xb80995(%rip), %rax    # 0xb81ed0
movq %rbp, %rcx
xorl %edx, %edx
xorl %esi, %esi
leaq 0xb94207(%rip), %r11    # 0xb95750
leaq 0xb9de40(%rip), %r12    # 0xb9f390
leaq 0xc759(%rip), %rdi      # 0xdcb0
cmpb $0x0, (%rdx,%rdi)
jne 0x15ab
movl (%rax), %edi
testl %r10d, %r10d
js 0x1588
movl %ebx, %r8d
subl %edi, %r8d
movslq %r8d, %r8
movslq (%rcx), %r9
movq %r14, %rdi
subq %r9, %rdi
imulq %r8, %r8
imulq %rdi, %rdi
addq %r8, %rdi
cmpq %rsi, %rdi
jl 0x15a5
jmp 0x15ab
movslq (%rcx), %rsi
movl %ebx, %r8d
subl %edi, %r8d
movslq %r8d, %r8
movq %r14, %rdi
subq %rsi, %rdi
imulq %r8, %r8
imulq %rdi, %rdi
addq %r8, %rdi
movl %edx, %r10d
movq %rdi, %rsi
incq %rdx
addq $0x4, %rcx
addq $0x4, %rax
cmpq %rdx, %r13
jne 0x1550
movq 0x20(%rsp), %rcx
leal 0x1(%rcx), %eax
cmpl 0xc(%rsp), %ecx
movq 0x18(%rsp), %rdi
jne 0x1343
jmp 0x15de
movl 0xede6(%rip), %eax      # 0x103c0
movq %rax, (%rsp)
leaq 0xa5b(%rip), %rdi       # 0x2040
xorl %ebp, %ebp
movq (%rsp), %rsi
xorl %eax, %eax
callq 0x1050
cmpl $0x0, 0xedc7(%rip)      # 0x103c0
jle 0x1669
leaq 0xedce(%rip), %r15      # 0x103d0
leaq 0xa3e(%rip), %rbx       # 0x2047
leaq 0x3df6c0(%rip), %r12    # 0x3e0cd0
leaq 0xa2f(%rip), %r14       # 0x2046
xorl %r13d, %r13d
movl (%r15,%r13,4), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq 0x1050
cmpl $0x0, (%r15,%r13,4)
jle 0x164e
xorl %ebp, %ebp
movq (%r12,%r13,8), %rax
movl (%rax,%rbp,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq 0x1050
incq %rbp
movslq (%r15,%r13,4), %rax
cmpq %rax, %rbp
jl 0x1631
movl $0xa, %edi
callq 0x1030
incq %r13
movslq 0xed5e(%rip), %rax      # 0x103c0
cmpq %rax, %r13
jl 0x161a
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq