#!/usr/bin/env python
# -*- coding: ascii -*-

# =========================================== (1) ======================================================================
# doors = [False] * 100
# for i in xrange(100):
#     for j in xrange(i, 100, i+1):
#         doors[j] = not doors[j]
#     print "Door %d:" % (i+1), 'open' if doors[i] else 'close'


# =========================================== (2) ======================================================================
# import random
# for _ in xrange(4):
#     print random.randint(0, 9)
#
# expression = raw_input('Expression should be evaluated to 24')
# print eval(expression)


# =========================================== (3) ======================================================================
# from itertools import islice
#
# with open('hangman.py') as f:
#     try:
#         line = next(islice(f, 6, 7))
#         print line
#     except StopIteration:
#         print('Not 7 lines in file')


# =========================================== (3) ======================================================================









