Diebold Nixdorf interview question

write small program in any language