passed sample input