import java.util.HashMap;
import java.util.Map.Entry;
public class MyClass {
public static void main(String args[]) {
HashMap<String, String> hm = new HashMap<>();
hm.put("Java", "ABC");
hm.put("C++", "AAB");
hm.put("Python", "ACB");
hm.put("C", "AAA");
hm.put("PHP", "ACD");
for (String key: hm.keySet()) {
System.out.print(key + " ");
}
System.out.println();
for (String value: hm.values()) {
System.out.print(value + " ");
}
}
}
/*
run:
Java C++ C PHP Python
ABC AAB AAA ACD ACB
*/