#!/usr/bin/env python
# coding: utf-8

# In[1]:


def front_times(str, n):
    return(str[0:3]*n) 

def main():
    
    print(front_times('Chocolate', 2))
    
    print(front_times('Chocolate', 3))
    
    print(front_times('Abc', 3))

if __name__ == '__main__':
    main() 


# In[ ]:




