# -*- coding: UTF-8 -*-



import os
import sys
import codecs

if '--interactive' not in sys.argv[1:]:
    if sys.version_info[0] == 2:
        sys.stdout = codecs.getwriter('UTF-8')(sys.stdout, 'strict')
        sys.stderr = codecs.getwriter('UTF-8')(sys.stderr, 'strict')
    else:
        sys.stdout = codecs.getwriter('UTF-8')(sys.stdout.buffer, 'strict')
        sys.stderr = codecs.getwriter('UTF-8')(sys.stderr.buffer, 'strict')

if '/home/gordon/texmf/scripts/pythontex' and '/home/gordon/texmf/scripts/pythontex' not in sys.path:
    sys.path.append('/home/gordon/texmf/scripts/pythontex')
from pythontex_utils import PythonTeXUtils
pytex = PythonTeXUtils()

pytex.docdir = os.getcwd()
if os.path.isdir('.'):
    os.chdir('.')
    if os.getcwd() not in sys.path:
        sys.path.append(os.getcwd())
else:
    if len(sys.argv) < 2 or sys.argv[1] != '--manual':
        sys.exit('Cannot find directory .')
if pytex.docdir not in sys.path:
    sys.path.append(pytex.docdir)



pytex.id = 'py_default_0'
pytex.family = 'py'
pytex.session = 'default'
pytex.restart = '0'

pytex.command = 'c'
pytex.set_context('')
pytex.args = ''
pytex.instance = '0'
pytex.line = '12'

print('=>PYTHONTEX:STDOUT#0#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#0#c#\n')
pytex.before()

print(int((7**2-1)/(7-1)))


pytex.after()
pytex.command = 'c'
pytex.set_context('')
pytex.args = ''
pytex.instance = '1'
pytex.line = '18'

print('=>PYTHONTEX:STDOUT#1#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#1#c#\n')
pytex.before()

print(6*8)


pytex.after()
pytex.command = 'c'
pytex.set_context('')
pytex.args = ''
pytex.instance = '2'
pytex.line = '18'

print('=>PYTHONTEX:STDOUT#2#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#2#c#\n')
pytex.before()

print(6**2 * 28)


pytex.after()
pytex.command = 'c'
pytex.set_context('')
pytex.args = ''
pytex.instance = '3'
pytex.line = '18'

print('=>PYTHONTEX:STDOUT#3#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#3#c#\n')
pytex.before()

print(6**3 * 56)


pytex.after()
pytex.command = 'c'
pytex.set_context('')
pytex.args = ''
pytex.instance = '4'
pytex.line = '18'

print('=>PYTHONTEX:STDOUT#4#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#4#c#\n')
pytex.before()

print(1 + 6*8 + 6**2 * 28 + 6**3 * 56)


pytex.after()
pytex.command = 'c'
pytex.set_context('')
pytex.args = ''
pytex.instance = '5'
pytex.line = '20'

print('=>PYTHONTEX:STDOUT#5#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#5#c#\n')
pytex.before()

print(1 + 6*8 + 6**2 * 28 + 6**3 * 56)


pytex.after()


pytex.cleanup()

a1c3ce56e84f07bbac741e0b36d7f1bfc7ee9aef
<mask token>

<mask token>
if '--interactive' not in sys.argv[1:]:
    if sys.version_info[0] == 2:
        sys.stdout = codecs.getwriter('UTF-8')(sys.stdout, 'strict')
        sys.stderr = codecs.getwriter('UTF-8')(sys.stderr, 'strict')
    else:
        sys.stdout = codecs.getwriter('UTF-8')(sys.stdout.buffer, 'strict')
        sys.stderr = codecs.getwriter('UTF-8')(sys.stderr.buffer, 'strict')
if '/home/gordon/texmf/scripts/pythontex' and '/home/gordon/texmf/scripts/pythontex' not in sys.path:
    sys.path.append('/home/gordon/texmf/scripts/pythontex')
<mask token>
if os.path.isdir('.'):
    os.chdir('.')
    if os.getcwd() not in sys.path:
        sys.path.append(os.getcwd())
elif len(sys.argv) < 2 or sys.argv[1] != '--manual':
    sys.exit('Cannot find directory .')
if pytex.docdir not in sys.path:
    sys.path.append(pytex.docdir)
<mask token>
pytex.set_context('')
<mask token>
print('=>PYTHONTEX:STDOUT#0#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#0#c#\n')
pytex.before()
print(int((7 ** 2 - 1) / (7 - 1)))
pytex.after()
<mask token>
pytex.set_context('')
<mask token>
print('=>PYTHONTEX:STDOUT#1#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#1#c#\n')
pytex.before()
print(6 * 8)
pytex.after()
<mask token>
pytex.set_context('')
<mask token>
print('=>PYTHONTEX:STDOUT#2#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#2#c#\n')
pytex.before()
print(6 ** 2 * 28)
pytex.after()
<mask token>
pytex.set_context('')
<mask token>
print('=>PYTHONTEX:STDOUT#3#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#3#c#\n')
pytex.before()
print(6 ** 3 * 56)
pytex.after()
<mask token>
pytex.set_context('')
<mask token>
print('=>PYTHONTEX:STDOUT#4#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#4#c#\n')
pytex.before()
print(1 + 6 * 8 + 6 ** 2 * 28 + 6 ** 3 * 56)
pytex.after()
<mask token>
pytex.set_context('')
<mask token>
print('=>PYTHONTEX:STDOUT#5#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#5#c#\n')
pytex.before()
print(1 + 6 * 8 + 6 ** 2 * 28 + 6 ** 3 * 56)
pytex.after()
pytex.cleanup()

<mask token>
if '--interactive' not in sys.argv[1:]:
    if sys.version_info[0] == 2:
        sys.stdout = codecs.getwriter('UTF-8')(sys.stdout, 'strict')
        sys.stderr = codecs.getwriter('UTF-8')(sys.stderr, 'strict')
    else:
        sys.stdout = codecs.getwriter('UTF-8')(sys.stdout.buffer, 'strict')
        sys.stderr = codecs.getwriter('UTF-8')(sys.stderr.buffer, 'strict')
if '/home/gordon/texmf/scripts/pythontex' and '/home/gordon/texmf/scripts/pythontex' not in sys.path:
    sys.path.append('/home/gordon/texmf/scripts/pythontex')
<mask token>
pytex = PythonTeXUtils()
pytex.docdir = os.getcwd()
if os.path.isdir('.'):
    os.chdir('.')
    if os.getcwd() not in sys.path:
        sys.path.append(os.getcwd())
elif len(sys.argv) < 2 or sys.argv[1] != '--manual':
    sys.exit('Cannot find directory .')
if pytex.docdir not in sys.path:
    sys.path.append(pytex.docdir)
pytex.id = 'py_default_0'
pytex.family = 'py'
pytex.session = 'default'
pytex.restart = '0'
pytex.command = 'c'
pytex.set_context('')
pytex.args = ''
pytex.instance = '0'
pytex.line = '12'
print('=>PYTHONTEX:STDOUT#0#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#0#c#\n')
pytex.before()
print(int((7 ** 2 - 1) / (7 - 1)))
pytex.after()
pytex.command = 'c'
pytex.set_context('')
pytex.args = ''
pytex.instance = '1'
pytex.line = '18'
print('=>PYTHONTEX:STDOUT#1#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#1#c#\n')
pytex.before()
print(6 * 8)
pytex.after()
pytex.command = 'c'
pytex.set_context('')
pytex.args = ''
pytex.instance = '2'
pytex.line = '18'
print('=>PYTHONTEX:STDOUT#2#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#2#c#\n')
pytex.before()
print(6 ** 2 * 28)
pytex.after()
pytex.command = 'c'
pytex.set_context('')
pytex.args = ''
pytex.instance = '3'
pytex.line = '18'
print('=>PYTHONTEX:STDOUT#3#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#3#c#\n')
pytex.before()
print(6 ** 3 * 56)
pytex.after()
pytex.command = 'c'
pytex.set_context('')
pytex.args = ''
pytex.instance = '4'
pytex.line = '18'
print('=>PYTHONTEX:STDOUT#4#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#4#c#\n')
pytex.before()
print(1 + 6 * 8 + 6 ** 2 * 28 + 6 ** 3 * 56)
pytex.after()
pytex.command = 'c'
pytex.set_context('')
pytex.args = ''
pytex.instance = '5'
pytex.line = '20'
print('=>PYTHONTEX:STDOUT#5#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#5#c#\n')
pytex.before()
print(1 + 6 * 8 + 6 ** 2 * 28 + 6 ** 3 * 56)
pytex.after()
pytex.cleanup()

import os
import sys
import codecs
if '--interactive' not in sys.argv[1:]:
    if sys.version_info[0] == 2:
        sys.stdout = codecs.getwriter('UTF-8')(sys.stdout, 'strict')
        sys.stderr = codecs.getwriter('UTF-8')(sys.stderr, 'strict')
    else:
        sys.stdout = codecs.getwriter('UTF-8')(sys.stdout.buffer, 'strict')
        sys.stderr = codecs.getwriter('UTF-8')(sys.stderr.buffer, 'strict')
if '/home/gordon/texmf/scripts/pythontex' and '/home/gordon/texmf/scripts/pythontex' not in sys.path:
    sys.path.append('/home/gordon/texmf/scripts/pythontex')
from pythontex_utils import PythonTeXUtils
pytex = PythonTeXUtils()
pytex.docdir = os.getcwd()
if os.path.isdir('.'):
    os.chdir('.')
    if os.getcwd() not in sys.path:
        sys.path.append(os.getcwd())
elif len(sys.argv) < 2 or sys.argv[1] != '--manual':
    sys.exit('Cannot find directory .')
if pytex.docdir not in sys.path:
    sys.path.append(pytex.docdir)
pytex.id = 'py_default_0'
pytex.family = 'py'
pytex.session = 'default'
pytex.restart = '0'
pytex.command = 'c'
pytex.set_context('')
pytex.args = ''
pytex.instance = '0'
pytex.line = '12'
print('=>PYTHONTEX:STDOUT#0#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#0#c#\n')
pytex.before()
print(int((7 ** 2 - 1) / (7 - 1)))
pytex.after()
pytex.command = 'c'
pytex.set_context('')
pytex.args = ''
pytex.instance = '1'
pytex.line = '18'
print('=>PYTHONTEX:STDOUT#1#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#1#c#\n')
pytex.before()
print(6 * 8)
pytex.after()
pytex.command = 'c'
pytex.set_context('')
pytex.args = ''
pytex.instance = '2'
pytex.line = '18'
print('=>PYTHONTEX:STDOUT#2#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#2#c#\n')
pytex.before()
print(6 ** 2 * 28)
pytex.after()
pytex.command = 'c'
pytex.set_context('')
pytex.args = ''
pytex.instance = '3'
pytex.line = '18'
print('=>PYTHONTEX:STDOUT#3#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#3#c#\n')
pytex.before()
print(6 ** 3 * 56)
pytex.after()
pytex.command = 'c'
pytex.set_context('')
pytex.args = ''
pytex.instance = '4'
pytex.line = '18'
print('=>PYTHONTEX:STDOUT#4#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#4#c#\n')
pytex.before()
print(1 + 6 * 8 + 6 ** 2 * 28 + 6 ** 3 * 56)
pytex.after()
pytex.command = 'c'
pytex.set_context('')
pytex.args = ''
pytex.instance = '5'
pytex.line = '20'
print('=>PYTHONTEX:STDOUT#5#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#5#c#\n')
pytex.before()
print(1 + 6 * 8 + 6 ** 2 * 28 + 6 ** 3 * 56)
pytex.after()
pytex.cleanup()

# -*- coding: UTF-8 -*-



import os
import sys
import codecs

if '--interactive' not in sys.argv[1:]:
    if sys.version_info[0] == 2:
        sys.stdout = codecs.getwriter('UTF-8')(sys.stdout, 'strict')
        sys.stderr = codecs.getwriter('UTF-8')(sys.stderr, 'strict')
    else:
        sys.stdout = codecs.getwriter('UTF-8')(sys.stdout.buffer, 'strict')
        sys.stderr = codecs.getwriter('UTF-8')(sys.stderr.buffer, 'strict')

if '/home/gordon/texmf/scripts/pythontex' and '/home/gordon/texmf/scripts/pythontex' not in sys.path:
    sys.path.append('/home/gordon/texmf/scripts/pythontex')
from pythontex_utils import PythonTeXUtils
pytex = PythonTeXUtils()

pytex.docdir = os.getcwd()
if os.path.isdir('.'):
    os.chdir('.')
    if os.getcwd() not in sys.path:
        sys.path.append(os.getcwd())
else:
    if len(sys.argv) < 2 or sys.argv[1] != '--manual':
        sys.exit('Cannot find directory .')
if pytex.docdir not in sys.path:
    sys.path.append(pytex.docdir)



pytex.id = 'py_default_0'
pytex.family = 'py'
pytex.session = 'default'
pytex.restart = '0'

pytex.command = 'c'
pytex.set_context('')
pytex.args = ''
pytex.instance = '0'
pytex.line = '12'

print('=>PYTHONTEX:STDOUT#0#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#0#c#\n')
pytex.before()

print(int((7**2-1)/(7-1)))


pytex.after()
pytex.command = 'c'
pytex.set_context('')
pytex.args = ''
pytex.instance = '1'
pytex.line = '18'

print('=>PYTHONTEX:STDOUT#1#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#1#c#\n')
pytex.before()

print(6*8)


pytex.after()
pytex.command = 'c'
pytex.set_context('')
pytex.args = ''
pytex.instance = '2'
pytex.line = '18'

print('=>PYTHONTEX:STDOUT#2#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#2#c#\n')
pytex.before()

print(6**2 * 28)


pytex.after()
pytex.command = 'c'
pytex.set_context('')
pytex.args = ''
pytex.instance = '3'
pytex.line = '18'

print('=>PYTHONTEX:STDOUT#3#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#3#c#\n')
pytex.before()

print(6**3 * 56)


pytex.after()
pytex.command = 'c'
pytex.set_context('')
pytex.args = ''
pytex.instance = '4'
pytex.line = '18'

print('=>PYTHONTEX:STDOUT#4#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#4#c#\n')
pytex.before()

print(1 + 6*8 + 6**2 * 28 + 6**3 * 56)


pytex.after()
pytex.command = 'c'
pytex.set_context('')
pytex.args = ''
pytex.instance = '5'
pytex.line = '20'

print('=>PYTHONTEX:STDOUT#5#c#')
sys.stderr.write('=>PYTHONTEX:STDERR#5#c#\n')
pytex.before()

print(1 + 6*8 + 6**2 * 28 + 6**3 * 56)


pytex.after()


pytex.cleanup()
