from turtle import *
def koch0(bok):
fd(bok)
def koch1(bok):
koch0(bok/3)
lt(60)
koch0(bok/3)
rt(120)
koch0(bok/3)
lt(60)
koch0(bok/3)
def koch2(bok):
koch1(bok/3)
lt(60)
koch1(bok/3)
rt(120)
koch1(bok/3)
lt(60)
koch1(bok/3)
ZnJvbSB0dXJ0bGUgaW1wb3J0ICoKICAKZGVmIGtvY2gwKGJvayk6CiAgCWZkKGJvaykKICAJICAKZGVmIGtvY2gxKGJvayk6CiAJa29jaDAoYm9rLzMpCiAJbHQoNjApCiAJa29jaDAoYm9rLzMpCiAJcnQoMTIwKQogCWtvY2gwKGJvay8zKQogCWx0KDYwKQogCWtvY2gwKGJvay8zKQogCSAKZGVmIGtvY2gyKGJvayk6CiAJa29jaDEoYm9rLzMpCiAJbHQoNjApCiAJa29jaDEoYm9rLzMpCiAJcnQoMTIwKQogCWtvY2gxKGJvay8zKQogCWx0KDYwKQogCWtvY2gxKGJvay8zKQogCQogCQ==