<garvit244>1078_1.py
def findOcurrences( text, first, second):
    result = []
    if not text:
        return []
    splitted_text = text.split(' ')
    indi = 0
    for index in range(len(splitted_text)-1):
        if splitted_text[index] == first and splitted_text[index+1] == second:
            index = index+2
            if index < len(splitted_text):
                result.append(splitted_text[index])
    return result
def sample_funcname ( var_0 , var_1 , var_2 ) :
    var_3 = [ ]
    if not var_0 :
        return [ ]
    var_6 = var_0.split ( ' ' )
    var_8 = 0
    for var_12 in range ( len ( var_6 ) - 1 ) :
        if var_6 [ var_12 ] == var_1 and var_6 [ var_12 + 1 ] == var_2 :
            var_12 = var_12 + 2
            if var_12 < len ( var_6 ) :
                var_3.append ( var_6 [ var_12 ] )
    return var_3
