BOXES

There are N numbered boxes placed on a table, let Bi denote the ith box in the line. Write a program that finds the total number of ways to place N identical balls such that atmost k balls are present in the boxes B1, .... ,Bk for 1<=k<=n. Since the number can be quite large you are supposed to output the answer modulo 761238923.
Input
Input will contain multiple testcases, on each line N (1<=N<=100) will be given. The last line contains 0 which should not be processed.
Output
For each testcase output exactly one line, the total number possible of ways modulo 761238923.
Example
Input: 1 2 0 Output: 1 2
Author:  abhijith 
Tags  abhijith 
Date Added:  27012010 
Time Limit:  3 sec 
Source Limit:  50000 Bytes 
Languages:  ADA, ASM, BASH, BF, C, C99 strict, CAML, CLOJ, CLPS, CPP 4.3.2, CPP 4.9.2, CPP14, CS2, D, ERL, FORT, FS, GO, HASK, ICK, ICON, JAVA, JS, LISP clisp, LISP sbcl, LUA, NEM, NICE, NODEJS, PAS fpc, PAS gpc, PERL, PERL6, PHP, PIKE, PRLG, PYPY, PYTH, PYTH 3.1.2, RUBY, SCALA, SCM chicken, SCM guile, SCM qobi, ST, TEXT, WSPC 
Comments
 Please login at the top to post a comment.
SUCCESSFUL SUBMISSIONS
Fetching successful submissions
Hey everyone.. Sorry for the
Hey everyone..
Sorry for the delay in starting the contest.
the timer has been reset.
All the best!!
what is n in this question
what is n in this question ???
i.e limit of n (not N)
Sorry .. n and N are the same
Sorry .. n and N are the same here ..
What is k?
What is k?
Ok, got it
Ok, got it
Can you elaborate more on the
Can you elaborate more on the problem statement. Seems to be solvable but the way you have put it is making it vague.
Please Make it more CLEAR.
Is there anyone to moderate.
Is there anyone to moderate. ??
Wrong no. given on Quark 2010
Wrong no. given on Quark 2010 website
Malvika Paul
+91 919881862532
malvika.paul@gmail.com
Care to give correct information please.
Thank you
@ Arjun Sharma 2 boxes in
@ Arjun Sharma
2 boxes in which 2 balls have to be placed
so only 2 possibilites not 5 ! and they are (1,1) and(0,2) .
sorry for earlier post two
sorry for earlier post
two 91s led to confusion. n i dialled the same .
Sorry
okie got it .
okie got it .
can you give a test case with
can you give a test case with op for a larger number?