Sample input working