Create Solution1.java

passingcars - codility