execution time 0.05, memory consumption: 919 kb