Yara Interview Question

Basic stuff, not very difficult