Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Theres a couple problems:
As the other comment suggests, the function name cannot be main() in code wars
Also, I don't think you can give input when running code in codewars
are you sure that solution in your problem should be in main() function? usually on codewars need to write an other function