 When I try to run code this error occurs despite of giving all the inputs