Dematic interview question

Nothing really hard