https://onlinegdb.com/VJ_0JKlQys
I thought of adding a timer to show it runs in a few ms but adding a timer would kind of defeat the purpose :)