<human>: Convert the following Java 8 Stream API code to Java 17 using local variable syntax for lambda:

```java
// Java 8 code
List<String> list = List.of("A", "B", "C");
list.stream().filter(s -> s.equals("A")).forEach(System.out::println);
```

<bot>: ```java
// Java 17 local variable syntax for lambda
List<String> list = List.of("A", "B", "C");
list.stream().filter((var s) -> s.equals("A")).forEach(System.out::println);
```