f = open('result.log')
g = open('result.txt','w')
line_num = list()
text = list()
count = 0
for line in f:
    text.append(line)
    count = count + 1
    line = line.split()
    if len(line) is 0:
        continue

    if line[0] == 'Current':
        line_num.append(count)
text[line_num[-1]+2] = text[line_num[-1]+2].split('=')[1]
#print(text[line_num[-1]+2].split('=')[1])
for num in range(line_num[-1]+1,line_num[-1]+14):
    print(text[num])

    g.write(text[num])

f.close()
g.close()
