"""
Zwe Nyan Toe
"""
def main():
    name = get_name()
    skipCount = int(input("How many letters would you like to skip? "))
    print_name(name,skipCount)


def print_name(name,skipCount):
    print(name[:: 2])
    for i in range(0, len(name), skipCount):
        print(name[i], end="")


def get_name():
    name = input("Enter your name : ")
    while len(name) <= 0:
        print("Name is blank. Please enter a valid name")
        name = input("Enter your name : ")
    return name

main()