You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is the program to for playing matchsticks game where you are allowed to select matchstick form 1 to 4 and print the pattern on which positions to avoid to for winning the game.
Input-contain single line Integer.
output-print the list pattern of winning and loosing positions.