/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
// your code goes here
Braille b=new Braille();
CD cd=new CD();
DVD dvd=new DVD();
printMedia(b);
printMedia(cd);
printMedia(dvd);
}
public static void printMedia(LibMedia media){
media.borrow();
}
}
interface LibMedia
{
public void borrow();
}
class Braille implements LibMedia{
public void borrow(){
System.
out.
println("Braille"); }
}
class CD implements LibMedia{
public void borrow(){
}
}
class DVD implements LibMedia{
public void borrow(){
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCS8vIHlvdXIgY29kZSBnb2VzIGhlcmUKCQlTeXN0ZW0ub3V0LnByaW50bG4oIkhlbGxvIik7CgkJQnJhaWxsZSBiPW5ldyBCcmFpbGxlKCk7CgkJQ0QgY2Q9bmV3IENEKCk7CgkJRFZEIGR2ZD1uZXcgRFZEKCk7CgkJcHJpbnRNZWRpYShiKTsKCQlwcmludE1lZGlhKGNkKTsKCQlwcmludE1lZGlhKGR2ZCk7Cgl9CgkKCXB1YmxpYyBzdGF0aWMgdm9pZCBwcmludE1lZGlhKExpYk1lZGlhIG1lZGlhKXsKCQltZWRpYS5ib3Jyb3coKTsKCX0KfQoKCgppbnRlcmZhY2UgTGliTWVkaWEKewoJcHVibGljIHZvaWQgYm9ycm93KCk7Cn0KCmNsYXNzIEJyYWl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