Bernard thinks of a number.  When the number is divided by $$2$$, the remainder is $$1$$.  When the number is divided by $$3$$, the remainder is $$2$$.  When the number is divided by $$5$$, the remainder is $$4$$.  When the number is divided by $$7$$, the remainder is $$6$$.  It is less than $$400$$. What is the number? 
Overseas Competition->Knowledge Point->Number Theory Modules->Remainder Problems->Chinese Remainder Theorem->Step-by-step Calculation