Finastra interview question

ask to code a simple automation