Faster solution! :D