Removed dummy numbers and now works with given input.