Actually, this is a famous problem. But, I feel it is important to attempt on one’s own, proofs of famous questions within the scope of RMO and INMO mathematics. And, then compare one’s approach or whole proof with the one suggested by the author or teacher of RMO/INMO.
How farthest from the edge of a table can a deck of playing cards be stably overhung if the cards are stacked on top of one another? And, how many of them will be overhanging completely away from the edge of the table?
I will post it when I publish the solution lest it might affect your attempt at solving this enticing mathematics question !
Please do not try and get the solution from the internet.