# -*- coding: utf-8 -*-
"""
Created on Wed May 22 12:07:57 2019

@author: brlam

if you ate chocolate number X, then you will next eat the chocolate with number (X + M) modulo N (remainder of division).

For example, given integers N = 10 and M = 4. You will eat the following chocolates: 0, 4, 8, 2, 6.
"""

#def countChocolates(N=10,M=4):
##    print((0+M)%N)
##    print((1+M)%N)
##    print((2+M)%N)
##    print((3+M)%N)
##    print((4+M)%N)
#    
#    print(270%192)
#    
#    
#countChocolates()

#s1="xyyzyzyx"
#s2="xyz"              #use s2 as a "template" to be matched.
#
#store={}
#for i in range(len(s1)):
#    #store[i]=s1[i]
#    if s1[i] in s2:
#        s1=s1.replace(s1[i],"@")
#        
#print(s1)        
#        
        























        