def largest_words(str1):
    word = "";
    all_words = [];
    str1 = str1 + " ";
    for i in range(0, len(str1)):
        if(str1[i] != ' '):
            word = word + str1[i];  
        else:
            all_words.append(word);  
            word = "";  
            
            large = all_words[0];  
    
    for k in range(0, len(all_words)):
        if(len(large) < len(all_words[k])):
            large = all_words[k];
    return large;

str1 = input();  
large = largest_words(str1)  
print( large);

2c02da9a2f8d55efe76bdacfa6b8f16aab900563
<mask token>

def largest_words(str1):
    word = ''
    all_words = []
    str1 = str1 + ' '
    for i in range(0, len(str1)):
        if str1[i] != ' ':
            word = word + str1[i]
        else:
            all_words.append(word)
            word = ''
            large = all_words[0]
    for k in range(0, len(all_words)):
        if len(large) < len(all_words[k]):
            large = all_words[k]
    return large


<mask token>

def largest_words(str1):
    word = ''
    all_words = []
    str1 = str1 + ' '
    for i in range(0, len(str1)):
        if str1[i] != ' ':
            word = word + str1[i]
        else:
            all_words.append(word)
            word = ''
            large = all_words[0]
    for k in range(0, len(all_words)):
        if len(large) < len(all_words[k]):
            large = all_words[k]
    return large


<mask token>
print(large)

def largest_words(str1):
    word = ''
    all_words = []
    str1 = str1 + ' '
    for i in range(0, len(str1)):
        if str1[i] != ' ':
            word = word + str1[i]
        else:
            all_words.append(word)
            word = ''
            large = all_words[0]
    for k in range(0, len(all_words)):
        if len(large) < len(all_words[k]):
            large = all_words[k]
    return large


str1 = input()
large = largest_words(str1)
print(large)

def largest_words(str1):
    word = "";
    all_words = [];
    str1 = str1 + " ";
    for i in range(0, len(str1)):
        if(str1[i] != ' '):
            word = word + str1[i];  
        else:
            all_words.append(word);  
            word = "";  
            
            large = all_words[0];  
    
    for k in range(0, len(all_words)):
        if(len(large) < len(all_words[k])):
            large = all_words[k];
    return large;

str1 = input();  
large = largest_words(str1)  
print( large);
