package com.codegym.task.task25.task2501;
/*
New functionality!
*/
public class Solution {
public static void main(String[] args) {
System.out.println(Alphabet.G.getLetterPosition());
}
public enum Alphabet {
A, B, C, D, E,
F, G, H, I, J,
K, L, M, N, O,
P, Q, R, S, T,
U, V, W, X, Y, Z;
private int ordinal;
public int getLetterPosition() {
return Alphabet.this.ordinal + 1;
}
}
}