---
# System prepended metadata

title: Untitled

---

```python=
from pwn import *
a=remote('140.110.112.214',2402,level='debug')
a.recvlines(9)
for i in range(100):
	a.recvline()
	a.recvuntil(b'year : ')
	b=a.recvn(4)
	b=int(b)
	if b%4 == 0:                    
		if b%100 == 0:              
			if b%400 == 0:          
				a.sendlineafter(b'answer : ','leap')
			else:
				a.sendlineafter(b'answer : ','ordinary')
		else:
			a.sendlineafter(b'answer : ','leap')
	else:
		a.sendlineafter(b'answer : ','ordinary')
a.interactive()
a.close()

```