Weird Dictionary

2.5

2 votes
Easy
Problem

Ashutosh has got a weird digital dictionary, why it is weird because instead of searching for a particular word in it, you have to give the position of the word in the dictionary to get its meaning which is weird for sure isn't it. So he needs your help, since it is not possible to remember the position of every word he needs you to create a program which will return the position of the word in the dictionary (meaningless words included) Dictionary contains words each with same length.

Input Format First line contains number 'n' length of each word in the dictionary Next Line contains a string 's'

Output Format Print its position in the dictionary

Time Limit: 1
Memory Limit: 256
Source Limit:
Editor Image

?